| 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_INSTANCE_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 OVERRIDE; | 57 OVERRIDE; |
| 58 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) | 58 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) |
| 59 OVERRIDE; | 59 OVERRIDE; |
| 60 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; | 60 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; |
| 61 virtual void SetPluginToHandleFindRequests(PP_Instance instance) OVERRIDE; | 61 virtual void SetPluginToHandleFindRequests(PP_Instance instance) OVERRIDE; |
| 62 virtual void NumberOfFindResultsChanged(PP_Instance instance, | 62 virtual void NumberOfFindResultsChanged(PP_Instance instance, |
| 63 int32_t total, | 63 int32_t total, |
| 64 PP_Bool final_result) OVERRIDE; | 64 PP_Bool final_result) OVERRIDE; |
| 65 virtual void SelectedFindResultChanged(PP_Instance instance, | 65 virtual void SelectedFindResultChanged(PP_Instance instance, |
| 66 int32_t index) OVERRIDE; | 66 int32_t index) OVERRIDE; |
| 67 virtual void SetTickmarks(PP_Instance instance, |
| 68 const PP_Rect* tickmarks, |
| 69 uint32_t count) OVERRIDE; |
| 67 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE; | 70 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE; |
| 68 virtual PP_Bool SetFullscreen(PP_Instance instance, | 71 virtual PP_Bool SetFullscreen(PP_Instance instance, |
| 69 PP_Bool fullscreen) OVERRIDE; | 72 PP_Bool fullscreen) OVERRIDE; |
| 70 virtual PP_Bool GetScreenSize(PP_Instance instance, | 73 virtual PP_Bool GetScreenSize(PP_Instance instance, |
| 71 PP_Size* size) OVERRIDE; | 74 PP_Size* size) OVERRIDE; |
| 72 virtual Resource* GetSingletonResource(PP_Instance instance, | 75 virtual Resource* GetSingletonResource(PP_Instance instance, |
| 73 SingletonResourceID id) OVERRIDE; | 76 SingletonResourceID id) OVERRIDE; |
| 74 virtual int32_t RequestInputEvents(PP_Instance instance, | 77 virtual int32_t RequestInputEvents(PP_Instance instance, |
| 75 uint32_t event_classes) OVERRIDE; | 78 uint32_t event_classes) OVERRIDE; |
| 76 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 79 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance, | 175 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance, |
| 173 uint32_t *result); | 176 uint32_t *result); |
| 174 void OnHostMsgGetDefaultCharSet(PP_Instance instance, | 177 void OnHostMsgGetDefaultCharSet(PP_Instance instance, |
| 175 SerializedVarReturnValue result); | 178 SerializedVarReturnValue result); |
| 176 void OnHostMsgSetPluginToHandleFindRequests(PP_Instance instance); | 179 void OnHostMsgSetPluginToHandleFindRequests(PP_Instance instance); |
| 177 void OnHostMsgNumberOfFindResultsChanged(PP_Instance instance, | 180 void OnHostMsgNumberOfFindResultsChanged(PP_Instance instance, |
| 178 int32_t total, | 181 int32_t total, |
| 179 PP_Bool final_result); | 182 PP_Bool final_result); |
| 180 void OnHostMsgSelectFindResultChanged(PP_Instance instance, | 183 void OnHostMsgSelectFindResultChanged(PP_Instance instance, |
| 181 int32_t index); | 184 int32_t index); |
| 185 void OnHostMsgSetTickmarks(PP_Instance instance, |
| 186 const std::vector<PP_Rect>& tickmarks); |
| 182 void OnHostMsgSetFullscreen(PP_Instance instance, | 187 void OnHostMsgSetFullscreen(PP_Instance instance, |
| 183 PP_Bool fullscreen, | 188 PP_Bool fullscreen, |
| 184 PP_Bool* result); | 189 PP_Bool* result); |
| 185 void OnHostMsgGetScreenSize(PP_Instance instance, | 190 void OnHostMsgGetScreenSize(PP_Instance instance, |
| 186 PP_Bool* result, | 191 PP_Bool* result, |
| 187 PP_Size* size); | 192 PP_Size* size); |
| 188 void OnHostMsgRequestInputEvents(PP_Instance instance, | 193 void OnHostMsgRequestInputEvents(PP_Instance instance, |
| 189 bool is_filtering, | 194 bool is_filtering, |
| 190 uint32_t event_classes); | 195 uint32_t event_classes); |
| 191 void OnHostMsgClearInputEvents(PP_Instance instance, | 196 void OnHostMsgClearInputEvents(PP_Instance instance, |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 // Other helpers. | 279 // Other helpers. |
| 275 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); | 280 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); |
| 276 | 281 |
| 277 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; | 282 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; |
| 278 }; | 283 }; |
| 279 | 284 |
| 280 } // namespace proxy | 285 } // namespace proxy |
| 281 } // namespace ppapi | 286 } // namespace ppapi |
| 282 | 287 |
| 283 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 288 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| OLD | NEW |