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

Side by Side Diff: ppapi/thunk/ppb_flash_clipboard_api.h

Issue 11225021: Move flash clipboard to the new proxy and add custom format support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_THUNK_PPB_FLASH_CLIPBOARD_API_H_
6 #define PPAPI_THUNK_PPB_FLASH_CLIPBOARD_API_H_
7
8 #include "ppapi/c/private/ppb_flash_clipboard.h"
9 #include "ppapi/thunk/ppapi_thunk_export.h"
10
11 namespace ppapi {
12 namespace thunk {
13
14 class PPAPI_THUNK_EXPORT PPB_Flash_Clipboard_API {
yzshen1 2012/10/29 17:58:04 Do you need to export it?
raymes 2012/10/29 18:44:58 Done.
15 public:
16 virtual ~PPB_Flash_Clipboard_API() {}
17
18 // PPB_Flash_Clipboard.
19 virtual uint32_t RegisterCustomFormat(
20 PP_Instance instance,
yzshen1 2012/10/29 17:58:04 wrong indent. (The whole class)
raymes 2012/10/29 18:44:58 Done.
21 const char* format_name) = 0;
22 virtual PP_Bool IsFormatAvailable(
23 PP_Instance instance,
24 PP_Flash_Clipboard_Type clipboard_type,
25 uint32_t format) = 0;
26 virtual PP_Var ReadData(
27 PP_Instance instance,
28 PP_Flash_Clipboard_Type clipboard_type,
29 uint32_t format) = 0;
30 virtual int32_t WriteData(
31 PP_Instance instance,
32 PP_Flash_Clipboard_Type clipboard_type,
33 uint32_t data_item_count,
34 const uint32_t formats[],
35 const PP_Var data_items[]) = 0;
36 };
37
38 } // namespace thunk
39 } // namespace ppapi
40
41 #endif // PPAPI_THUNK_PPB_FLASH_CLIPBOARD_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698