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

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: cleanup 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
Index: webkit/glue/webclipboard_impl.h
diff --git a/webkit/glue/webclipboard_impl.h b/webkit/glue/webclipboard_impl.h
index 6b496b6aac44fc7db192b043b6197f24510fae3e..4a8ac213499d51f42531d3e28d2ee8caeddd8758 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);
+ WebClipboardImpl(ClipboardClient* client);
sky 2011/11/21 15:13:17 explicit
piman 2011/11/21 20:27:14 Done.
+
virtual ~WebClipboardImpl();
// WebClipboard methods:
@@ -50,6 +53,7 @@ class WebClipboardImpl : public WebKit::WebClipboard {
private:
bool ConvertBufferType(Buffer, ui::Clipboard::Buffer*);
+ ClipboardClient* client_;
};
} // namespace webkit_glue

Powered by Google App Engine
This is Rietveld 408576698