diff options
author | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-28 01:45:33 +0000 |
---|---|---|
committer | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-28 01:45:33 +0000 |
commit | 3391ebb097b95feb8587b1ae43ee1cc47e601f79 (patch) | |
tree | e2a0c9cef329b7801548f81232cc8e488158dfb5 /ppapi/api/private/ppb_flash_clipboard.idl | |
parent | 4e7b8920056148dc43d0af4f45b6498890ea2979 (diff) | |
download | chromium_src-3391ebb097b95feb8587b1ae43ee1cc47e601f79.zip chromium_src-3391ebb097b95feb8587b1ae43ee1cc47e601f79.tar.gz chromium_src-3391ebb097b95feb8587b1ae43ee1cc47e601f79.tar.bz2 |
Add GetSequenceNumber function to PPB_Flash_Clipboard
This provides access to a sequence number which identifies the clipboard state.
BUG=333094
Review URL: https://codereview.chromium.org/136183002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247383 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api/private/ppb_flash_clipboard.idl')
-rw-r--r-- | ppapi/api/private/ppb_flash_clipboard.idl | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ppapi/api/private/ppb_flash_clipboard.idl b/ppapi/api/private/ppb_flash_clipboard.idl index 5a97318..d2fef48 100644 --- a/ppapi/api/private/ppb_flash_clipboard.idl +++ b/ppapi/api/private/ppb_flash_clipboard.idl @@ -10,7 +10,8 @@ label Chrome { M19 = 4.0, - M24 = 5.0 + M24 = 5.0, + M34 = 5.1 }; /** @@ -142,4 +143,15 @@ interface PPB_Flash_Clipboard { [in] uint32_t data_item_count, [in, size_is(data_item_count)] uint32_t[] formats, [in, size_is(data_item_count)] PP_Var[] data_items); + + /** + * Gets a sequence number which uniquely identifies clipboard state. This can + * be used to version the data on the clipboard and determine whether it has + * changed. The sequence number will be placed in |sequence_number| and + * PP_TRUE returned if the sequence number was retrieved successfully. + */ + [version=5.1] + PP_Bool GetSequenceNumber([in] PP_Instance instance_id, + [in] PP_Flash_Clipboard_Type clipboard_type, + [out] uint64_t sequence_number); }; |