diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 03:48:52 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 03:48:52 +0000 |
commit | 0de5d8609abf9961228c2a12031fc5354688345a (patch) | |
tree | e11e8fc9ac695dc41f999a62b88e95e3b6d780d8 /webkit/glue/webclipboard_impl.h | |
parent | 66d22164c2aded1403643b52a9763f492acbbdcc (diff) | |
download | chromium_src-0de5d8609abf9961228c2a12031fc5354688345a.zip chromium_src-0de5d8609abf9961228c2a12031fc5354688345a.tar.gz chromium_src-0de5d8609abf9961228c2a12031fc5354688345a.tar.bz2 |
Move clipboard-related webkit_glue embedder functions into a ClipboardClient interface.
This moves the functions into a pattern that is component-friendly.
BUG=98755
TEST=Chrome, DRT, test_shell
Review URL: http://codereview.chromium.org/8591030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111097 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webclipboard_impl.h')
-rw-r--r-- | webkit/glue/webclipboard_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webclipboard_impl.h b/webkit/glue/webclipboard_impl.h index b4ac1e4..c1514f2 100644 --- a/webkit/glue/webclipboard_impl.h +++ b/webkit/glue/webclipboard_impl.h @@ -11,6 +11,7 @@ #include <string> namespace webkit_glue { +class ClipboardClient; class WebClipboardImpl : public WebKit::WebClipboard { public: @@ -19,6 +20,8 @@ class WebClipboardImpl : public WebKit::WebClipboard { static std::string URLToImageMarkup(const WebKit::WebURL& url, const WebKit::WebString& title); + explicit WebClipboardImpl(ClipboardClient* client); + virtual ~WebClipboardImpl(); // WebClipboard methods: @@ -51,6 +54,7 @@ class WebClipboardImpl : public WebKit::WebClipboard { private: bool ConvertBufferType(Buffer, ui::Clipboard::Buffer*); + ClipboardClient* client_; }; } // namespace webkit_glue |