Index: ppapi/c/private/ppb_flash_clipboard.h |
diff --git a/ppapi/c/private/ppb_flash_clipboard.h b/ppapi/c/private/ppb_flash_clipboard.h |
index 7b84a2729a570e84427f098036a0d1eab92c5fbe..53d2fb47ced9d8a69c4ab037b2ed97be0320712d 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 Wed Dec 14 18:08:00 2011. */ |
+/* From private/ppb_flash_clipboard.idl modified Tue Jan 24 13:30:10 2012. */ |
#ifndef PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_ |
#define PPAPI_C_PRIVATE_PPB_FLASH_CLIPBOARD_H_ |
@@ -86,13 +86,38 @@ struct PPB_Flash_Clipboard_3_0 { |
struct PP_Var (*ReadPlainText)(PP_Instance instance_id, |
PP_Flash_Clipboard_Type clipboard_type); |
/** |
- * Writes plain text data to the clipboard. If <code>text</code> is too large, |
- * it will return <code>PP_ERROR_NOSPACE</code> and not write to the |
- * clipboard. |
+ * Writes plain text data to the clipboard buffer. If <code>text</code> is too |
+ * large, it will return <code>PP_ERROR_NOSPACE</code> and not write to the |
+ * clipboard buffer. |
*/ |
int32_t (*WritePlainText)(PP_Instance instance_id, |
PP_Flash_Clipboard_Type clipboard_type, |
struct PP_Var text); |
+ /** |
+ * Reads HTML data from the clipboard. |
+ */ |
+ struct PP_Var (*ReadHTML)(PP_Instance instance_id, |
+ PP_Flash_Clipboard_Type clipboard_type); |
+ /** |
+ * Writes HTML data to the clipboard buffer. If <code>html</code> is too |
+ * large, it will return <code>PP_ERROR_NOSPACE</code> and not write to the |
+ * clipboard buffer. |
+ */ |
+ int32_t (*WriteHTML)(PP_Instance instance_id, |
+ PP_Flash_Clipboard_Type clipboard_type, |
+ struct PP_Var html); |
+ /** |
+ * Clear the contents of the clipboard buffer. |
+ */ |
+ void (*Clear)(PP_Instance instance_id, |
+ PP_Flash_Clipboard_Type clipboard_type); |
+ /** |
+ * Commit the contents of the clipboard buffer to the clipboard. Any existing |
+ * contents on the clipboard are cleared before the contents of the clipboard |
+ * buffer are written. |
+ */ |
+ void (*Commit)(PP_Instance instance_id, |
+ PP_Flash_Clipboard_Type clipboard_type); |
}; |
typedef struct PPB_Flash_Clipboard_3_0 PPB_Flash_Clipboard; |