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

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

Issue 10540057: Cleanup - remove ModuleLocalThreadAdapter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
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" 9 #include "ppapi/c/private/ppb_flash_clipboard.h"
10 #include "ppapi/c/private/ppb_flash_file.h" 10 #include "ppapi/c/private/ppb_flash_file.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual PP_Var ReadClipboardData(PP_Instance instance, 53 virtual PP_Var ReadClipboardData(PP_Instance instance,
54 PP_Flash_Clipboard_Type clipboard_type, 54 PP_Flash_Clipboard_Type clipboard_type,
55 PP_Flash_Clipboard_Format format) = 0; 55 PP_Flash_Clipboard_Format format) = 0;
56 virtual int32_t WriteClipboardData(PP_Instance instance, 56 virtual int32_t WriteClipboardData(PP_Instance instance,
57 PP_Flash_Clipboard_Type clipboard_type, 57 PP_Flash_Clipboard_Type clipboard_type,
58 uint32_t data_item_count, 58 uint32_t data_item_count,
59 const PP_Flash_Clipboard_Format formats[], 59 const PP_Flash_Clipboard_Format formats[],
60 const PP_Var data_items[]) = 0; 60 const PP_Var data_items[]) = 0;
61 61
62 // FlashFile_ModuleLocal. 62 // FlashFile_ModuleLocal.
63 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) = 0;
64 virtual void ClearThreadAdapterForInstance(PP_Instance instance) = 0;
65 virtual int32_t OpenFile(PP_Instance instance, 63 virtual int32_t OpenFile(PP_Instance instance,
66 const char* path, 64 const char* path,
67 int32_t mode, 65 int32_t mode,
68 PP_FileHandle* file) = 0; 66 PP_FileHandle* file) = 0;
69 virtual int32_t RenameFile(PP_Instance instance, 67 virtual int32_t RenameFile(PP_Instance instance,
70 const char* path_from, 68 const char* path_from,
71 const char* path_to) = 0; 69 const char* path_to) = 0;
72 virtual int32_t DeleteFileOrDir(PP_Instance instance, 70 virtual int32_t DeleteFileOrDir(PP_Instance instance,
73 const char* path, 71 const char* path,
74 PP_Bool recursive) = 0; 72 PP_Bool recursive) = 0;
(...skipping 20 matching lines...) Expand all
95 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; 93 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0;
96 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, 94 virtual PP_Bool FlashSetFullscreen(PP_Instance instance,
97 PP_Bool fullscreen) = 0; 95 PP_Bool fullscreen) = 0;
98 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; 96 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0;
99 }; 97 };
100 98
101 } // namespace thunk 99 } // namespace thunk
102 } // namespace ppapi 100 } // namespace ppapi
103 101
104 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ 102 #endif // PPAPI_THUNK_PPB_FLASH_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698