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

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

Issue 11437038: Revert 171408 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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/ppb_file_ref_api.h ('k') | ppapi/thunk/ppb_flash_file_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_file.h" 9 #include "ppapi/c/private/ppb_flash_file.h"
10 #include "ppapi/thunk/ppapi_thunk_export.h" 10 #include "ppapi/thunk/ppapi_thunk_export.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // Internal navigate function that takes a URLRequestInfoData. 50 // Internal navigate function that takes a URLRequestInfoData.
51 virtual int32_t Navigate(PP_Instance instance, 51 virtual int32_t Navigate(PP_Instance instance,
52 const URLRequestInfoData& data, 52 const URLRequestInfoData& data,
53 const char* target, 53 const char* target,
54 PP_Bool from_user_action) = 0; 54 PP_Bool from_user_action) = 0;
55 55
56 virtual double GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) = 0; 56 virtual double GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) = 0;
57 virtual PP_Bool IsRectTopmost(PP_Instance instance, const PP_Rect* rect) = 0; 57 virtual PP_Bool IsRectTopmost(PP_Instance instance, const PP_Rect* rect) = 0;
58 virtual PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting) = 0; 58 virtual PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting) = 0;
59
60 // FlashFile_ModuleLocal.
61 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) = 0;
62 virtual void ClearThreadAdapterForInstance(PP_Instance instance) = 0;
63 virtual int32_t OpenFile(PP_Instance instance,
64 const char* path,
65 int32_t mode,
66 PP_FileHandle* file) = 0;
67 virtual int32_t RenameFile(PP_Instance instance,
68 const char* path_from,
69 const char* path_to) = 0;
70 virtual int32_t DeleteFileOrDir(PP_Instance instance,
71 const char* path,
72 PP_Bool recursive) = 0;
73 virtual int32_t CreateDir(PP_Instance instance, const char* path) = 0;
74 virtual int32_t QueryFile(PP_Instance instance,
75 const char* path,
76 PP_FileInfo* info) = 0;
77 virtual int32_t GetDirContents(PP_Instance instance,
78 const char* path,
79 PP_DirContents_Dev** contents) = 0;
80 virtual void FreeDirContents(PP_Instance instance,
81 PP_DirContents_Dev* contents) = 0;
82 virtual int32_t CreateTemporaryFile(PP_Instance instance,
83 PP_FileHandle* file) = 0;
84
85 // FlashFile_FileRef.
86 virtual int32_t OpenFileRef(PP_Instance instance,
87 PP_Resource file_ref,
88 int32_t mode,
89 PP_FileHandle* file) = 0;
90 virtual int32_t QueryFileRef(PP_Instance instance,
91 PP_Resource file_ref,
92 PP_FileInfo* info) = 0;
59 }; 93 };
60 94
61 } // namespace thunk 95 } // namespace thunk
62 } // namespace ppapi 96 } // namespace ppapi
63 97
64 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ 98 #endif // PPAPI_THUNK_PPB_FLASH_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_file_ref_api.h ('k') | ppapi/thunk/ppb_flash_file_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698