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 890a7d481c818042997c409db96bb9db684c43ca..4e38570e760809eada3a50395143c390831c537d 100644 |
--- a/ppapi/api/private/ppb_flash_clipboard.idl |
+++ b/ppapi/api/private/ppb_flash_clipboard.idl |
@@ -70,12 +70,46 @@ interface PPB_Flash_Clipboard { |
[in] 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( |
viettrungluu
2012/01/25 00:01:55
Since "write" no longer parallels "read" directly
raymes1
2012/01/25 01:33:12
Done.
|
[in] PP_Instance instance_id, |
[in] PP_Flash_Clipboard_Type clipboard_type, |
[in] PP_Var text); |
+ |
+ /** |
+ * Reads HTML data from the clipboard. |
+ */ |
+ PP_Var ReadHTML( |
+ [in] PP_Instance instance_id, |
+ [in] 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( |
+ [in] PP_Instance instance_id, |
+ [in] PP_Flash_Clipboard_Type clipboard_type, |
+ [in] PP_Var html); |
+ |
+ /** |
+ * Clear the contents of the clipboard buffer. |
+ */ |
+ void Clear( |
viettrungluu
2012/01/25 00:01:55
Is this instantaneous? Or does it also require com
raymes1
2012/01/25 01:33:12
This requires a commit. I updated the docs to make
|
+ [in] PP_Instance instance_id, |
+ [in] 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( |
+ [in] PP_Instance instance_id, |
+ [in] PP_Flash_Clipboard_Type clipboard_type); |
+ |
}; |