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

Unified Diff: ppapi/api/private/ppb_flash_clipboard.idl

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
« no previous file with comments | « content/renderer/renderer_clipboard_client.cc ('k') | ppapi/c/private/ppb_flash_clipboard.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/private/ppb_flash_clipboard.idl
diff --git a/ppapi/api/private/ppb_flash_clipboard.idl b/ppapi/api/private/ppb_flash_clipboard.idl
index 70073a9f465e462d8ee0803d021a3c36a4717cc8..24380de2f59d49975263b4e843f89684f9251289 100644
--- a/ppapi/api/private/ppb_flash_clipboard.idl
+++ b/ppapi/api/private/ppb_flash_clipboard.idl
@@ -40,10 +40,21 @@ enum PP_Flash_Clipboard_Type {
enum PP_Flash_Clipboard_Format {
/** Indicates an invalid or unsupported clipboard data format. */
PP_FLASH_CLIPBOARD_FORMAT_INVALID = 0,
- /** Indicates plain text clipboard data. */
+ /**
+ * Indicates plaintext clipboard data. The format expected/returned is a
+ * <code>PP_VARTYPE_STRING</code>.
+ */
PP_FLASH_CLIPBOARD_FORMAT_PLAINTEXT = 1,
- /** Indicates HTML clipboard data. */
- PP_FLASH_CLIPBOARD_FORMAT_HTML = 2
+ /**
+ * Indicates HTML clipboard data. The format expected/returned is a
+ * <code>PP_VARTYPE_STRING</code>.
+ */
+ PP_FLASH_CLIPBOARD_FORMAT_HTML = 2,
+ /**
+ * Indicates RTF clipboard data. The format expected/returned is a
+ * <code>PP_VARTYPE_ARRAY_BUFFER</code>.
+ */
+ PP_FLASH_CLIPBOARD_FORMAT_RTF = 3
};
/**
« no previous file with comments | « content/renderer/renderer_clipboard_client.cc ('k') | ppapi/c/private/ppb_flash_clipboard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698