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

Unified Diff: webkit/glue/clipboard_client.h

Issue 9921018: Added RTF support to pepper API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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
Index: webkit/glue/clipboard_client.h
diff --git a/webkit/glue/clipboard_client.h b/webkit/glue/clipboard_client.h
index a0ddec2c62c1be9e875171349c31067f634724ed..6c9856c8b035075ff2b4496dc930280de6805b39 100644
--- a/webkit/glue/clipboard_client.h
+++ b/webkit/glue/clipboard_client.h
@@ -59,6 +59,9 @@ class ClipboardClient {
GURL* url, uint32* fragment_start,
uint32* fragment_end) = 0;
+ // Reads RTF from the clipboard, if available.
+ virtual void ReadRTF(ui::Clipboard::Buffer buffer, std::string* result) = 0;
+
// Reads and image from the clipboard, if available.
virtual void ReadImage(ui::Clipboard::Buffer buffer, std::string* data) = 0;

Powered by Google App Engine
This is Rietveld 408576698