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

Unified Diff: webkit/glue/webclipboard_impl.h

Issue 174367: Change the ChromiumPasteboard to have a notion of an alternate clipboard... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months 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/api/src/ChromiumBridge.cpp ('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
===================================================================
--- webkit/glue/webclipboard_impl.h (revision 25640)
+++ webkit/glue/webclipboard_impl.h (working copy)
@@ -5,6 +5,7 @@
#ifndef WEBCLIPBOARD_IMPL_H_
#define WEBCLIPBOARD_IMPL_H_
+#include "base/clipboard.h"
#include "webkit/api/public/WebClipboard.h"
#include <string>
@@ -21,9 +22,9 @@
virtual ~WebClipboardImpl() {}
// WebClipboard methods:
- virtual bool isFormatAvailable(WebKit::WebClipboard::Format);
- virtual WebKit::WebString readPlainText();
- virtual WebKit::WebString readHTML(WebKit::WebURL* source_url);
+ virtual bool isFormatAvailable(Format, Buffer);
+ virtual WebKit::WebString readPlainText(Buffer);
+ virtual WebKit::WebString readHTML(Buffer, WebKit::WebURL* source_url);
virtual void writeHTML(
const WebKit::WebString& html_text,
const WebKit::WebURL& source_url,
@@ -36,6 +37,9 @@
const WebKit::WebImage&,
const WebKit::WebURL& source_url,
const WebKit::WebString& title);
+
+ private:
+ bool ConvertBufferType(Buffer, Clipboard::Buffer*);
};
} // namespace webkit_glue
« no previous file with comments | « webkit/api/src/ChromiumBridge.cpp ('k') | webkit/glue/webclipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698