Commit f96c0ada authored by dcheng@chromium.org's avatar dcheng@chromium.org

2011-03-11 Daniel Cheng <dcheng@chromium.org>

        Reviewed by Tony Chang.

        [chromium] Correct return type of WebClipboard::readImage.
        https://bugs.webkit.org/show_bug.cgi?id=56234

        Update the return type to reflect that we are returning a blob of PNG
        data, not a bitmap.

        * public/WebClipboard.h:
        (WebKit::WebClipboard::readImage):

git-svn-id: svn://svn.chromium.org/blink/trunk@80907 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent a6837d86
2011-03-11 Daniel Cheng <dcheng@chromium.org>
Reviewed by Tony Chang.
[chromium] Correct return type of WebClipboard::readImage.
https://bugs.webkit.org/show_bug.cgi?id=56234
Update the return type to reflect that we are returning a blob of PNG
data, not a bitmap.
* public/WebClipboard.h:
(WebKit::WebClipboard::readImage):
2011-03-11 David Levin <levin@chromium.org> 2011-03-11 David Levin <levin@chromium.org>
Update chromium deps to pick up the skia roll. Update chromium deps to pick up the skia roll.
......
...@@ -32,13 +32,14 @@ ...@@ -32,13 +32,14 @@
#define WebClipboard_h #define WebClipboard_h
#include "WebCommon.h" #include "WebCommon.h"
#include "WebImage.h" #include "WebData.h"
#include "WebString.h" #include "WebString.h"
#include "WebVector.h" #include "WebVector.h"
namespace WebKit { namespace WebKit {
class WebDragData; class WebDragData;
class WebImage;
class WebURL; class WebURL;
class WebClipboard { class WebClipboard {
...@@ -62,7 +63,7 @@ public: ...@@ -62,7 +63,7 @@ public:
virtual WebString readPlainText(Buffer) { return WebString(); } virtual WebString readPlainText(Buffer) { return WebString(); }
virtual WebString readHTML(Buffer, WebURL*) { return WebString(); } virtual WebString readHTML(Buffer, WebURL*) { return WebString(); }
virtual WebImage readImage(Buffer) { return WebImage(); } virtual WebData readImage(Buffer) { return WebData(); }
virtual void writePlainText(const WebString&) { } virtual void writePlainText(const WebString&) { }
virtual void writeHTML( virtual void writeHTML(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment