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

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

Issue 136183002: Add GetSequenceNumber function to PPB_Flash_Clipboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
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 5a973182a070ae0e772ee4042206d30d7045f112..d2fef48a074b8e68fae9a78da2efc67d0d595c88 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);
};
« no previous file with comments | « chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc ('k') | ppapi/c/private/ppb_flash_clipboard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698