| OLD | NEW |
| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 PP_Resource request_info, | 47 PP_Resource request_info, |
| 48 const char* target, | 48 const char* target, |
| 49 PP_Bool from_user_action) = 0; | 49 PP_Bool from_user_action) = 0; |
| 50 | 50 |
| 51 // Internal navigate function that takes a URLRequestInfoData. | 51 // Internal navigate function that takes a URLRequestInfoData. |
| 52 virtual int32_t Navigate(PP_Instance instance, | 52 virtual int32_t Navigate(PP_Instance instance, |
| 53 const URLRequestInfoData& data, | 53 const URLRequestInfoData& data, |
| 54 const char* target, | 54 const char* target, |
| 55 PP_Bool from_user_action) = 0; | 55 PP_Bool from_user_action) = 0; |
| 56 | 56 |
| 57 virtual void RunMessageLoop(PP_Instance instance) = 0; | |
| 58 virtual void QuitMessageLoop(PP_Instance instance) = 0; | |
| 59 virtual double GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) = 0; | 57 virtual double GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) = 0; |
| 60 virtual PP_Bool IsRectTopmost(PP_Instance instance, const PP_Rect* rect) = 0; | 58 virtual PP_Bool IsRectTopmost(PP_Instance instance, const PP_Rect* rect) = 0; |
| 61 virtual void UpdateActivity(PP_Instance instance) = 0; | 59 virtual void UpdateActivity(PP_Instance instance) = 0; |
| 62 virtual PP_Var GetDeviceID(PP_Instance instance) = 0; | |
| 63 virtual int32_t GetSettingInt(PP_Instance instance, | |
| 64 PP_FlashSetting setting) = 0; | |
| 65 virtual PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting) = 0; | 60 virtual PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting) = 0; |
| 66 virtual PP_Bool SetCrashData(PP_Instance instance, | 61 virtual PP_Bool SetCrashData(PP_Instance instance, |
| 67 PP_FlashCrashKey key, | 62 PP_FlashCrashKey key, |
| 68 PP_Var value) = 0; | 63 PP_Var value) = 0; |
| 69 | 64 |
| 70 // FlashFile_ModuleLocal. | 65 // FlashFile_ModuleLocal. |
| 71 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) = 0; | 66 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) = 0; |
| 72 virtual void ClearThreadAdapterForInstance(PP_Instance instance) = 0; | 67 virtual void ClearThreadAdapterForInstance(PP_Instance instance) = 0; |
| 73 virtual int32_t OpenFile(PP_Instance instance, | 68 virtual int32_t OpenFile(PP_Instance instance, |
| 74 const char* path, | 69 const char* path, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 105 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; | 100 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; |
| 106 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, | 101 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, |
| 107 PP_Bool fullscreen) = 0; | 102 PP_Bool fullscreen) = 0; |
| 108 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; | 103 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; |
| 109 }; | 104 }; |
| 110 | 105 |
| 111 } // namespace thunk | 106 } // namespace thunk |
| 112 } // namespace ppapi | 107 } // namespace ppapi |
| 113 | 108 |
| 114 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ | 109 #endif // PPAPI_THUNK_PPB_FLASH_API_H_ |
| OLD | NEW |