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

Side by Side Diff: ppapi/thunk/ppb_flash_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
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private_flash.h ('k') | ppapi/thunk/ppb_flash_clipboard_api.h » ('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_THUNK_PPB_FLASH_API_H_ 5 #ifndef PPAPI_THUNK_PPB_FLASH_API_H_
6 #define PPAPI_THUNK_PPB_FLASH_API_H_ 6 #define PPAPI_THUNK_PPB_FLASH_API_H_
7 7
8 #include "ppapi/c/private/ppb_flash.h" 8 #include "ppapi/c/private/ppb_flash.h"
9 #include "ppapi/c/private/ppb_flash_clipboard.h"
10 #include "ppapi/c/private/ppb_flash_file.h" 9 #include "ppapi/c/private/ppb_flash_file.h"
11 #include "ppapi/thunk/ppapi_thunk_export.h" 10 #include "ppapi/thunk/ppapi_thunk_export.h"
12 11
13 namespace ppapi { 12 namespace ppapi {
14 13
15 struct URLRequestInfoData; 14 struct URLRequestInfoData;
16 15
17 namespace thunk { 16 namespace thunk {
18 17
19 /////////////////////////// WARNING:DEPRECTATED //////////////////////////////// 18 /////////////////////////// WARNING:DEPRECTATED ////////////////////////////////
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual PP_Bool IsRectTopmost(PP_Instance instance, const PP_Rect* rect) = 0; 60 virtual PP_Bool IsRectTopmost(PP_Instance instance, const PP_Rect* rect) = 0;
62 virtual void UpdateActivity(PP_Instance instance) = 0; 61 virtual void UpdateActivity(PP_Instance instance) = 0;
63 virtual PP_Var GetDeviceID(PP_Instance instance) = 0; 62 virtual PP_Var GetDeviceID(PP_Instance instance) = 0;
64 virtual int32_t GetSettingInt(PP_Instance instance, 63 virtual int32_t GetSettingInt(PP_Instance instance,
65 PP_FlashSetting setting) = 0; 64 PP_FlashSetting setting) = 0;
66 virtual PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting) = 0; 65 virtual PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting) = 0;
67 virtual PP_Bool SetCrashData(PP_Instance instance, 66 virtual PP_Bool SetCrashData(PP_Instance instance,
68 PP_FlashCrashKey key, 67 PP_FlashCrashKey key,
69 PP_Var value) = 0; 68 PP_Var value) = 0;
70 69
71 // FlashClipboard.
72 virtual PP_Bool IsClipboardFormatAvailable(
73 PP_Instance instance,
74 PP_Flash_Clipboard_Type clipboard_type,
75 PP_Flash_Clipboard_Format format) = 0;
76 virtual PP_Var ReadClipboardData(PP_Instance instance,
77 PP_Flash_Clipboard_Type clipboard_type,
78 PP_Flash_Clipboard_Format format) = 0;
79 virtual int32_t WriteClipboardData(PP_Instance instance,
80 PP_Flash_Clipboard_Type clipboard_type,
81 uint32_t data_item_count,
82 const PP_Flash_Clipboard_Format formats[],
83 const PP_Var data_items[]) = 0;
84
85 // FlashFile_ModuleLocal. 70 // FlashFile_ModuleLocal.
86 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) = 0; 71 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) = 0;
87 virtual void ClearThreadAdapterForInstance(PP_Instance instance) = 0; 72 virtual void ClearThreadAdapterForInstance(PP_Instance instance) = 0;
88 virtual int32_t OpenFile(PP_Instance instance, 73 virtual int32_t OpenFile(PP_Instance instance,
89 const char* path, 74 const char* path,
90 int32_t mode, 75 int32_t mode,
91 PP_FileHandle* file) = 0; 76 PP_FileHandle* file) = 0;
92 virtual int32_t RenameFile(PP_Instance instance, 77 virtual int32_t RenameFile(PP_Instance instance,
93 const char* path_from, 78 const char* path_from,
94 const char* path_to) = 0; 79 const char* path_to) = 0;
(...skipping 25 matching lines...) Expand all
120 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; 105 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0;
121 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, 106 virtual PP_Bool FlashSetFullscreen(PP_Instance instance,
122 PP_Bool fullscreen) = 0; 107 PP_Bool fullscreen) = 0;
123 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; 108 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0;
124 }; 109 };
125 110
126 } // namespace thunk 111 } // namespace thunk
127 } // namespace ppapi 112 } // namespace ppapi
128 113
129 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ 114 #endif // PPAPI_THUNK_PPB_FLASH_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/interfaces_ppb_private_flash.h ('k') | ppapi/thunk/ppb_flash_clipboard_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698