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

Side by Side Diff: ppapi/proxy/ppb_flash_proxy.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/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_flash_proxy.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_PROXY_PPB_FLASH_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_FLASH_PROXY_H_
6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_ 6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 const PP_Rect* rect) OVERRIDE; 81 const PP_Rect* rect) OVERRIDE;
82 virtual void UpdateActivity(PP_Instance instance) OVERRIDE; 82 virtual void UpdateActivity(PP_Instance instance) OVERRIDE;
83 virtual PP_Var GetDeviceID(PP_Instance instance) OVERRIDE; 83 virtual PP_Var GetDeviceID(PP_Instance instance) OVERRIDE;
84 virtual int32_t GetSettingInt(PP_Instance instance, 84 virtual int32_t GetSettingInt(PP_Instance instance,
85 PP_FlashSetting setting) OVERRIDE; 85 PP_FlashSetting setting) OVERRIDE;
86 virtual PP_Var GetSetting(PP_Instance instance, 86 virtual PP_Var GetSetting(PP_Instance instance,
87 PP_FlashSetting setting) OVERRIDE; 87 PP_FlashSetting setting) OVERRIDE;
88 virtual PP_Bool SetCrashData(PP_Instance instance, 88 virtual PP_Bool SetCrashData(PP_Instance instance,
89 PP_FlashCrashKey key, 89 PP_FlashCrashKey key,
90 PP_Var value) OVERRIDE; 90 PP_Var value) OVERRIDE;
91 virtual PP_Bool IsClipboardFormatAvailable(
92 PP_Instance instance,
93 PP_Flash_Clipboard_Type clipboard_type,
94 PP_Flash_Clipboard_Format format) OVERRIDE;
95 virtual PP_Var ReadClipboardData(PP_Instance instance,
96 PP_Flash_Clipboard_Type clipboard_type,
97 PP_Flash_Clipboard_Format format) OVERRIDE;
98 virtual int32_t WriteClipboardData(PP_Instance instance,
99 PP_Flash_Clipboard_Type clipboard_type,
100 uint32_t data_item_count,
101 const PP_Flash_Clipboard_Format formats[],
102 const PP_Var data_items[]) OVERRIDE;
103 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) OVERRIDE; 91 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) OVERRIDE;
104 virtual void ClearThreadAdapterForInstance(PP_Instance instance) OVERRIDE; 92 virtual void ClearThreadAdapterForInstance(PP_Instance instance) OVERRIDE;
105 virtual int32_t OpenFile(PP_Instance instance, 93 virtual int32_t OpenFile(PP_Instance instance,
106 const char* path, 94 const char* path,
107 int32_t mode, 95 int32_t mode,
108 PP_FileHandle* file) OVERRIDE; 96 PP_FileHandle* file) OVERRIDE;
109 virtual int32_t RenameFile(PP_Instance instance, 97 virtual int32_t RenameFile(PP_Instance instance,
110 const char* path_from, 98 const char* path_from,
111 const char* path_to) OVERRIDE; 99 const char* path_to) OVERRIDE;
112 virtual int32_t DeleteFileOrDir(PP_Instance instance, 100 virtual int32_t DeleteFileOrDir(PP_Instance instance,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 double* result); 145 double* result);
158 void OnHostMsgIsRectTopmost(PP_Instance instance, 146 void OnHostMsgIsRectTopmost(PP_Instance instance,
159 PP_Rect rect, 147 PP_Rect rect,
160 PP_Bool* result); 148 PP_Bool* result);
161 void OnHostMsgFlashSetFullscreen(PP_Instance instance, 149 void OnHostMsgFlashSetFullscreen(PP_Instance instance,
162 PP_Bool fullscreen, 150 PP_Bool fullscreen,
163 PP_Bool* result); 151 PP_Bool* result);
164 void OnHostMsgFlashGetScreenSize(PP_Instance instance, 152 void OnHostMsgFlashGetScreenSize(PP_Instance instance,
165 PP_Bool* result, 153 PP_Bool* result,
166 PP_Size* size); 154 PP_Size* size);
167 void OnHostMsgIsClipboardFormatAvailable(PP_Instance instance,
168 int clipboard_type,
169 int format,
170 bool* result);
171 void OnHostMsgReadClipboardData(PP_Instance instance,
172 int clipboard_type,
173 int format,
174 SerializedVarReturnValue result);
175 void OnHostMsgWriteClipboardData(PP_Instance instance,
176 int clipboard_type,
177 const std::vector<int>& formats,
178 SerializedVarVectorReceiveInput data_items);
179 void OnHostMsgOpenFileRef(PP_Instance instance, 155 void OnHostMsgOpenFileRef(PP_Instance instance,
180 const ppapi::HostResource& host_resource, 156 const ppapi::HostResource& host_resource,
181 int32_t mode, 157 int32_t mode,
182 IPC::PlatformFileForTransit* file_handle, 158 IPC::PlatformFileForTransit* file_handle,
183 int32_t* result); 159 int32_t* result);
184 void OnHostMsgQueryFileRef(PP_Instance instance, 160 void OnHostMsgQueryFileRef(PP_Instance instance,
185 const ppapi::HostResource& host_resource, 161 const ppapi::HostResource& host_resource,
186 PP_FileInfo* info, 162 PP_FileInfo* info,
187 int32_t* result); 163 int32_t* result);
188 void OnHostMsgGetDeviceID(PP_Instance instance, 164 void OnHostMsgGetDeviceID(PP_Instance instance,
189 SerializedVarReturnValue id); 165 SerializedVarReturnValue id);
190 void OnHostMsgGetSetting(PP_Instance instance, 166 void OnHostMsgGetSetting(PP_Instance instance,
191 PP_FlashSetting setting, 167 PP_FlashSetting setting,
192 SerializedVarReturnValue result); 168 SerializedVarReturnValue result);
193 void OnHostMsgInvokePrinting(PP_Instance instance); 169 void OnHostMsgInvokePrinting(PP_Instance instance);
194 170
195 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); 171 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy);
196 }; 172 };
197 173
198 } // namespace proxy 174 } // namespace proxy
199 } // namespace ppapi 175 } // namespace ppapi
200 176
201 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_ 177 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_flash_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698