From: commit-queue@webkit.org Date: Wed, 22 Feb 2012 04:34:19 +0000 (+0000) Subject: [BlackBerry] Upstream Icon class in platform/graphics/blackberry X-Git-Tag: 070512121124~12212 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10ecb2d3344d0f5cf8968f1a83765071df680147;p=profile%2Fivi%2Fwebkit-efl.git [BlackBerry] Upstream Icon class in platform/graphics/blackberry https://bugs.webkit.org/show_bug.cgi?id=79088 Patch by Robin Cao 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): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108440 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 3c09430..3cd98d9 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,18 @@ +2012-02-21 Robin Cao + + [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 Rename "reserved1" flag of WebSocketFrame to compress diff --git a/Source/WebCore/platform/graphics/blackberry/IconBlackBerry.cpp b/Source/WebCore/platform/graphics/blackberry/IconBlackBerry.cpp new file mode 100644 index 0000000..93a4b0f --- /dev/null +++ b/Source/WebCore/platform/graphics/blackberry/IconBlackBerry.cpp @@ -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::createIconForFiles(const Vector&) +{ + // FIXME: remove 0 template param when this is implemented + notImplemented(); + return 0; +} + +} // namespace WebCore