Title: [108440] trunk/Source/WebCore
Revision
108440
Author
[email protected]
Date
2012-02-21 20:34:19 -0800 (Tue, 21 Feb 2012)

Log Message

[BlackBerry] Upstream Icon class in platform/graphics/blackberry
https://bugs.webkit.org/show_bug.cgi?id=79088

Patch by Robin Cao <[email protected]> on 2012-02-21
Reviewed by Antonio Gomes.

Initial upstreaming, no new tests.

* platform/graphics/blackberry/IconBlackBerry.cpp: Added.
(WebCore):
(WebCore::Icon::~Icon):
(WebCore::Icon::paint):
(WebCore::Icon::createIconForFiles):

Modified Paths

Added Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108439 => 108440)


--- trunk/Source/WebCore/ChangeLog	2012-02-22 04:26:26 UTC (rev 108439)
+++ trunk/Source/WebCore/ChangeLog	2012-02-22 04:34:19 UTC (rev 108440)
@@ -1,3 +1,18 @@
+2012-02-21  Robin Cao  <[email protected]>
+
+        [BlackBerry] Upstream Icon class in platform/graphics/blackberry
+        https://bugs.webkit.org/show_bug.cgi?id=79088
+
+        Reviewed by Antonio Gomes.
+
+        Initial upstreaming, no new tests.
+
+        * platform/graphics/blackberry/IconBlackBerry.cpp: Added.
+        (WebCore):
+        (WebCore::Icon::~Icon):
+        (WebCore::Icon::paint):
+        (WebCore::Icon::createIconForFiles):
+
 2012-02-21  Kenichi Ishibashi  <[email protected]>
 
         Rename "reserved1" flag of WebSocketFrame to compress

Added: trunk/Source/WebCore/platform/graphics/blackberry/IconBlackBerry.cpp (0 => 108440)


--- trunk/Source/WebCore/platform/graphics/blackberry/IconBlackBerry.cpp	                        (rev 0)
+++ trunk/Source/WebCore/platform/graphics/blackberry/IconBlackBerry.cpp	2012-02-22 04:34:19 UTC (rev 108440)
@@ -0,0 +1,46 @@
+/*
+ * Copyright (C) 2011 Research In Motion Limited. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+
+#include "config.h"
+#include "Icon.h"
+
+#include "GraphicsContext.h"
+#include "IntRect.h"
+#include "NotImplemented.h"
+#include "PlatformString.h"
+
+namespace WebCore {
+
+Icon::~Icon()
+{
+    notImplemented();
+}
+
+void Icon::paint(GraphicsContext*, IntRect const&)
+{
+    notImplemented();
+}
+
+PassRefPtr<Icon> Icon::createIconForFiles(const Vector<String>&)
+{
+    // FIXME: remove 0 template param when this is implemented
+    notImplemented();
+    return 0;
+}
+
+} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to