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 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) override; | 69 PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) override; |
70 Resource* GetSingletonResource(PP_Instance instance, | 70 Resource* GetSingletonResource(PP_Instance instance, |
71 SingletonResourceID id) override; | 71 SingletonResourceID id) override; |
72 int32_t RequestInputEvents(PP_Instance instance, | 72 int32_t RequestInputEvents(PP_Instance instance, |
73 uint32_t event_classes) override; | 73 uint32_t event_classes) override; |
74 int32_t RequestFilteringInputEvents(PP_Instance instance, | 74 int32_t RequestFilteringInputEvents(PP_Instance instance, |
75 uint32_t event_classes) override; | 75 uint32_t event_classes) override; |
76 void StartTrackingLatency(PP_Instance instance) override; | 76 void StartTrackingLatency(PP_Instance instance) override; |
77 void ClearInputEventRequest(PP_Instance instance, | 77 void ClearInputEventRequest(PP_Instance instance, |
78 uint32_t event_classes) override; | 78 uint32_t event_classes) override; |
79 void ZoomChanged(PP_Instance instance, double factor) override; | |
80 void ZoomLimitsChanged(PP_Instance instance, | |
81 double minimum_factor, | |
82 double maximium_factor) override; | |
83 void PostMessage(PP_Instance instance, PP_Var message) override; | 79 void PostMessage(PP_Instance instance, PP_Var message) override; |
84 int32_t RegisterMessageHandler(PP_Instance instance, | 80 int32_t RegisterMessageHandler(PP_Instance instance, |
85 void* user_data, | 81 void* user_data, |
86 const PPP_MessageHandler_0_2* handler, | 82 const PPP_MessageHandler_0_2* handler, |
87 PP_Resource message_loop) override; | 83 PP_Resource message_loop) override; |
88 void UnregisterMessageHandler(PP_Instance instance) override; | 84 void UnregisterMessageHandler(PP_Instance instance) override; |
89 PP_Bool SetCursor(PP_Instance instance, | 85 PP_Bool SetCursor(PP_Instance instance, |
90 PP_MouseCursor_Type type, | 86 PP_MouseCursor_Type type, |
91 PP_Resource image, | 87 PP_Resource image, |
92 const PP_Point* hot_spot) override; | 88 const PP_Point* hot_spot) override; |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 // Other helpers. | 307 // Other helpers. |
312 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); | 308 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); |
313 | 309 |
314 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; | 310 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; |
315 }; | 311 }; |
316 | 312 |
317 } // namespace proxy | 313 } // namespace proxy |
318 } // namespace ppapi | 314 } // namespace ppapi |
319 | 315 |
320 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 316 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
OLD | NEW |