| 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_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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 const PP_Point glyph_advances[]) OVERRIDE; | 66 const PP_Point glyph_advances[]) OVERRIDE; |
| 67 virtual PP_Var GetProxyForURL(PP_Instance instance, const char* url) OVERRIDE; | 67 virtual PP_Var GetProxyForURL(PP_Instance instance, const char* url) OVERRIDE; |
| 68 virtual int32_t Navigate(PP_Instance instance, | 68 virtual int32_t Navigate(PP_Instance instance, |
| 69 PP_Resource request_info, | 69 PP_Resource request_info, |
| 70 const char* target, | 70 const char* target, |
| 71 PP_Bool from_user_action) OVERRIDE; | 71 PP_Bool from_user_action) OVERRIDE; |
| 72 virtual int32_t Navigate(PP_Instance instance, | 72 virtual int32_t Navigate(PP_Instance instance, |
| 73 const URLRequestInfoData& data, | 73 const URLRequestInfoData& data, |
| 74 const char* target, | 74 const char* target, |
| 75 PP_Bool from_user_action) OVERRIDE; | 75 PP_Bool from_user_action) OVERRIDE; |
| 76 virtual void RunMessageLoop(PP_Instance instance) OVERRIDE; | |
| 77 virtual void QuitMessageLoop(PP_Instance instance) OVERRIDE; | |
| 78 virtual double GetLocalTimeZoneOffset(PP_Instance instance, | 76 virtual double GetLocalTimeZoneOffset(PP_Instance instance, |
| 79 PP_Time t) OVERRIDE; | 77 PP_Time t) OVERRIDE; |
| 80 virtual PP_Bool IsRectTopmost(PP_Instance instance, | 78 virtual PP_Bool IsRectTopmost(PP_Instance instance, |
| 81 const PP_Rect* rect) OVERRIDE; | 79 const PP_Rect* rect) OVERRIDE; |
| 82 virtual void UpdateActivity(PP_Instance instance) OVERRIDE; | 80 virtual void UpdateActivity(PP_Instance instance) OVERRIDE; |
| 83 virtual PP_Var GetDeviceID(PP_Instance instance) OVERRIDE; | |
| 84 virtual int32_t GetSettingInt(PP_Instance instance, | |
| 85 PP_FlashSetting setting) OVERRIDE; | |
| 86 virtual PP_Var GetSetting(PP_Instance instance, | 81 virtual PP_Var GetSetting(PP_Instance instance, |
| 87 PP_FlashSetting setting) OVERRIDE; | 82 PP_FlashSetting setting) OVERRIDE; |
| 88 virtual PP_Bool SetCrashData(PP_Instance instance, | 83 virtual PP_Bool SetCrashData(PP_Instance instance, |
| 89 PP_FlashCrashKey key, | 84 PP_FlashCrashKey key, |
| 90 PP_Var value) OVERRIDE; | 85 PP_Var value) OVERRIDE; |
| 91 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) OVERRIDE; | 86 virtual bool CreateThreadAdapterForInstance(PP_Instance instance) OVERRIDE; |
| 92 virtual void ClearThreadAdapterForInstance(PP_Instance instance) OVERRIDE; | 87 virtual void ClearThreadAdapterForInstance(PP_Instance instance) OVERRIDE; |
| 93 virtual int32_t OpenFile(PP_Instance instance, | 88 virtual int32_t OpenFile(PP_Instance instance, |
| 94 const char* path, | 89 const char* path, |
| 95 int32_t mode, | 90 int32_t mode, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 const PPBFlash_DrawGlyphs_Params& params, | 127 const PPBFlash_DrawGlyphs_Params& params, |
| 133 PP_Bool* result); | 128 PP_Bool* result); |
| 134 void OnHostMsgGetProxyForURL(PP_Instance instance, | 129 void OnHostMsgGetProxyForURL(PP_Instance instance, |
| 135 const std::string& url, | 130 const std::string& url, |
| 136 SerializedVarReturnValue result); | 131 SerializedVarReturnValue result); |
| 137 void OnHostMsgNavigate(PP_Instance instance, | 132 void OnHostMsgNavigate(PP_Instance instance, |
| 138 const URLRequestInfoData& data, | 133 const URLRequestInfoData& data, |
| 139 const std::string& target, | 134 const std::string& target, |
| 140 PP_Bool from_user_action, | 135 PP_Bool from_user_action, |
| 141 int32_t* result); | 136 int32_t* result); |
| 142 void OnHostMsgRunMessageLoop(PP_Instance instance); | |
| 143 void OnHostMsgQuitMessageLoop(PP_Instance instance); | |
| 144 void OnHostMsgGetLocalTimeZoneOffset(PP_Instance instance, PP_Time t, | 137 void OnHostMsgGetLocalTimeZoneOffset(PP_Instance instance, PP_Time t, |
| 145 double* result); | 138 double* result); |
| 146 void OnHostMsgIsRectTopmost(PP_Instance instance, | 139 void OnHostMsgIsRectTopmost(PP_Instance instance, |
| 147 PP_Rect rect, | 140 PP_Rect rect, |
| 148 PP_Bool* result); | 141 PP_Bool* result); |
| 149 void OnHostMsgFlashSetFullscreen(PP_Instance instance, | 142 void OnHostMsgFlashSetFullscreen(PP_Instance instance, |
| 150 PP_Bool fullscreen, | 143 PP_Bool fullscreen, |
| 151 PP_Bool* result); | 144 PP_Bool* result); |
| 152 void OnHostMsgFlashGetScreenSize(PP_Instance instance, | 145 void OnHostMsgFlashGetScreenSize(PP_Instance instance, |
| 153 PP_Bool* result, | 146 PP_Bool* result, |
| 154 PP_Size* size); | 147 PP_Size* size); |
| 155 void OnHostMsgOpenFileRef(PP_Instance instance, | 148 void OnHostMsgOpenFileRef(PP_Instance instance, |
| 156 const ppapi::HostResource& host_resource, | 149 const ppapi::HostResource& host_resource, |
| 157 int32_t mode, | 150 int32_t mode, |
| 158 IPC::PlatformFileForTransit* file_handle, | 151 IPC::PlatformFileForTransit* file_handle, |
| 159 int32_t* result); | 152 int32_t* result); |
| 160 void OnHostMsgQueryFileRef(PP_Instance instance, | 153 void OnHostMsgQueryFileRef(PP_Instance instance, |
| 161 const ppapi::HostResource& host_resource, | 154 const ppapi::HostResource& host_resource, |
| 162 PP_FileInfo* info, | 155 PP_FileInfo* info, |
| 163 int32_t* result); | 156 int32_t* result); |
| 164 void OnHostMsgGetDeviceID(PP_Instance instance, | |
| 165 SerializedVarReturnValue id); | |
| 166 void OnHostMsgGetSetting(PP_Instance instance, | 157 void OnHostMsgGetSetting(PP_Instance instance, |
| 167 PP_FlashSetting setting, | 158 PP_FlashSetting setting, |
| 168 SerializedVarReturnValue result); | 159 SerializedVarReturnValue result); |
| 169 void OnHostMsgInvokePrinting(PP_Instance instance); | 160 void OnHostMsgInvokePrinting(PP_Instance instance); |
| 170 | 161 |
| 171 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); | 162 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); |
| 172 }; | 163 }; |
| 173 | 164 |
| 174 } // namespace proxy | 165 } // namespace proxy |
| 175 } // namespace ppapi | 166 } // namespace ppapi |
| 176 | 167 |
| 177 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_ | 168 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_ |
| OLD | NEW |