summaryrefslogtreecommitdiffstats
path: root/webkit/glue/scoped_clipboard_writer_glue.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 00:15:20 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 00:15:20 +0000
commitc62ce3e9f74a7b55b2d50c227555a3c198fd9cf3 (patch)
tree53fc0d34109ac909a7ba8f603835da8468abcd10 /webkit/glue/scoped_clipboard_writer_glue.h
parentbb095ea448d990cf3ab9ae3af4c9fc11d6348f90 (diff)
downloadchromium_src-c62ce3e9f74a7b55b2d50c227555a3c198fd9cf3.zip
chromium_src-c62ce3e9f74a7b55b2d50c227555a3c198fd9cf3.tar.gz
chromium_src-c62ce3e9f74a7b55b2d50c227555a3c198fd9cf3.tar.bz2
Chromium changes to use new WebKit, WebKitClient, and WebClipboard interfaces.
A new WebKitClientImpl class is added to webkit/glue that consumers can use to help implement WebKitClient. In the future, consumers will likely subclass WebKitClientImpl. For now, that is not necessary. Since a WebImage may not hold a SkBitmap, I needed to modify ScopedClipboardWriterGlue to not deal in SkBitmaps. So, I just added a WriteBitmapFromPixels method in place of the WriteBitmap method. That method is actually named the same as the one from the base class, which is perhaps kind of nice since the purpose of ScopedClipboardWriterGlue is to override the default way of sending an image to the clipboard! R=dglazkov Review URL: http://codereview.chromium.org/28119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/scoped_clipboard_writer_glue.h')
-rw-r--r--webkit/glue/scoped_clipboard_writer_glue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/scoped_clipboard_writer_glue.h b/webkit/glue/scoped_clipboard_writer_glue.h
index db7c428..d42263f 100644
--- a/webkit/glue/scoped_clipboard_writer_glue.h
+++ b/webkit/glue/scoped_clipboard_writer_glue.h
@@ -23,7 +23,7 @@ class ScopedClipboardWriterGlue : public ScopedClipboardWriter {
~ScopedClipboardWriterGlue();
#if defined(OS_WIN)
- void ScopedClipboardWriterGlue::WriteBitmap(const SkBitmap& bitmap);
+ void WriteBitmapFromPixels(const void* pixels, const gfx::Size& size);
#endif
private: