summaryrefslogtreecommitdiffstats
path: root/ppapi/c
diff options
context:
space:
mode:
authorraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-02 22:10:05 +0000
committerraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-02 22:10:05 +0000
commit4dfb8f00b69ec3dde0660c4790a469df5596a3ab (patch)
treedefc06b4fc11ced9c365bf502c5475bee4b3620a /ppapi/c
parent28cc10a26ffaaf8ff7f4f2e05ab6d03926951167 (diff)
downloadchromium_src-4dfb8f00b69ec3dde0660c4790a469df5596a3ab.zip
chromium_src-4dfb8f00b69ec3dde0660c4790a469df5596a3ab.tar.gz
chromium_src-4dfb8f00b69ec3dde0660c4790a469df5596a3ab.tar.bz2
Added RTF support to pepper API.
BUG=120435 TEST=out/Release/browser_tests --gtest_filter=*PPAPITest.*Clipboard* Review URL: http://codereview.chromium.org/9921018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130223 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r--ppapi/c/private/ppb_flash_clipboard.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/ppapi/c/private/ppb_flash_clipboard.h b/ppapi/c/private/ppb_flash_clipboard.h
index 7ed50406..3498d61 100644
--- a/ppapi/c/private/ppb_flash_clipboard.h
+++ b/ppapi/c/private/ppb_flash_clipboard.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/ppb_flash_clipboard.idl modified Thu Feb 23 23:15:40 2012. */
+/* From private/ppb_flash_clipboard.idl modified Wed Mar 28 16:49:38 2012. */
#ifndef PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_
#define PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_
@@ -53,10 +53,21 @@ PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Flash_Clipboard_Type, 4);
typedef enum {
/** 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
} PP_Flash_Clipboard_Format;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Flash_Clipboard_Format, 4);
/**