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

Side by Side Diff: ppapi/cpp/private/flash_clipboard.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/c/private/ppb_flash_clipboard.h ('k') | ppapi/cpp/private/flash_clipboard.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_CPP_PRIVATE_FLASH_CLIPBOARD_H_ 5 #ifndef PPAPI_CPP_PRIVATE_FLASH_CLIPBOARD_H_
6 #define PPAPI_CPP_PRIVATE_FLASH_CLIPBOARD_H_ 6 #define PPAPI_CPP_PRIVATE_FLASH_CLIPBOARD_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...) Expand all
38 PP_Flash_Clipboard_Type clipboard_type, 38 PP_Flash_Clipboard_Type clipboard_type,
39 uint32_t clipboard_format, 39 uint32_t clipboard_format,
40 Var* out); 40 Var* out);
41 41
42 // Returns true on success in which case all of |data| will be written to 42 // Returns true on success in which case all of |data| will be written to
43 // the clipboard. Otherwise nothing will be written. 43 // the clipboard. Otherwise nothing will be written.
44 static bool WriteData(const InstanceHandle& instance, 44 static bool WriteData(const InstanceHandle& instance,
45 PP_Flash_Clipboard_Type clipboard_type, 45 PP_Flash_Clipboard_Type clipboard_type,
46 const std::vector<uint32_t>& formats, 46 const std::vector<uint32_t>& formats,
47 const std::vector<Var>& data_items); 47 const std::vector<Var>& data_items);
48
49 // Outputs a sequence number that uniquely identifies the clipboard state in
50 // |sequence_number| and returns true if successful.
51 static bool GetSequenceNumber(const InstanceHandle& instance,
52 PP_Flash_Clipboard_Type clipboard_type,
53 uint64_t* sequence_number);
48 }; 54 };
49 55
50 } // namespace flash 56 } // namespace flash
51 } // namespace pp 57 } // namespace pp
52 58
53 #endif // PPAPI_CPP_PRIVATE_FLASH_CLIPBOARD_H_ 59 #endif // PPAPI_CPP_PRIVATE_FLASH_CLIPBOARD_H_
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_flash_clipboard.h ('k') | ppapi/cpp/private/flash_clipboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698