Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Unified Diff: webkit/glue/webclipboard_impl.h

Issue 8591030: Move clipboard-related webkit_glue embedder functions into a ClipboardClient interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/scoped_clipboard_writer_glue.cc ('k') | webkit/glue/webclipboard_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webclipboard_impl.h
diff --git a/webkit/glue/webclipboard_impl.h b/webkit/glue/webclipboard_impl.h
index b4ac1e4cc9bf5b196965098597c0ff914948e82c..c1514f2858a23fdc7c58a15b8926b4bf36afd0a3 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
« no previous file with comments | « webkit/glue/scoped_clipboard_writer_glue.cc ('k') | webkit/glue/webclipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698