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

Unified Diff: webkit/api/public/WebClipboard.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 | « views/view_unittest.cc ('k') | webkit/api/public/WebViewClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/public/WebClipboard.h
===================================================================
--- webkit/api/public/WebClipboard.h (revision 25640)
+++ webkit/api/public/WebClipboard.h (working copy)
@@ -46,11 +46,18 @@
FormatSmartPaste
};
- virtual bool isFormatAvailable(Format) = 0;
+ enum Buffer {
+ BufferStandard,
+ // Used on platforms like the X Window System that treat selection
+ // as a type of clipboard.
+ BufferSelection
+ };
- virtual WebString readPlainText() = 0;
- virtual WebString readHTML(WebURL*) = 0;
+ virtual bool isFormatAvailable(Format, Buffer) = 0;
+ virtual WebString readPlainText(Buffer) = 0;
+ virtual WebString readHTML(Buffer, WebURL*) = 0;
+
virtual void writeHTML(
const WebString& htmlText, const WebURL&,
const WebString& plainText, bool writeSmartPaste) = 0;
« no previous file with comments | « views/view_unittest.cc ('k') | webkit/api/public/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698