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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 79 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
80 uint32_t event_classes) OVERRIDE; | 80 uint32_t event_classes) OVERRIDE; |
81 virtual void StartTrackingLatency(PP_Instance instance) OVERRIDE; | 81 virtual void StartTrackingLatency(PP_Instance instance) OVERRIDE; |
82 virtual void ClearInputEventRequest(PP_Instance instance, | 82 virtual void ClearInputEventRequest(PP_Instance instance, |
83 uint32_t event_classes) OVERRIDE; | 83 uint32_t event_classes) OVERRIDE; |
84 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; | 84 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; |
85 virtual void ZoomLimitsChanged(PP_Instance instance, | 85 virtual void ZoomLimitsChanged(PP_Instance instance, |
86 double minimum_factor, | 86 double minimum_factor, |
87 double maximium_factor) OVERRIDE; | 87 double maximium_factor) OVERRIDE; |
88 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; | 88 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; |
| 89 virtual int32_t RegisterMessageHandler(PP_Instance instance, |
| 90 void* user_data, |
| 91 const PPP_MessageHandler_0_1* handler, |
| 92 PP_Resource message_loop) OVERRIDE; |
| 93 virtual void UnregisterMessageHandler(PP_Instance instance) OVERRIDE; |
89 virtual PP_Bool SetCursor(PP_Instance instance, | 94 virtual PP_Bool SetCursor(PP_Instance instance, |
90 PP_MouseCursor_Type type, | 95 PP_MouseCursor_Type type, |
91 PP_Resource image, | 96 PP_Resource image, |
92 const PP_Point* hot_spot) OVERRIDE; | 97 const PP_Point* hot_spot) OVERRIDE; |
93 virtual int32_t LockMouse(PP_Instance instance, | 98 virtual int32_t LockMouse(PP_Instance instance, |
94 scoped_refptr<TrackedCallback> callback) OVERRIDE; | 99 scoped_refptr<TrackedCallback> callback) OVERRIDE; |
95 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; | 100 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; |
96 virtual void SetTextInputType(PP_Instance instance, | 101 virtual void SetTextInputType(PP_Instance instance, |
97 PP_TextInput_Type type) OVERRIDE; | 102 PP_TextInput_Type type) OVERRIDE; |
98 virtual void UpdateCaretPosition(PP_Instance instance, | 103 virtual void UpdateCaretPosition(PP_Instance instance, |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 // Other helpers. | 286 // Other helpers. |
282 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); | 287 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); |
283 | 288 |
284 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; | 289 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; |
285 }; | 290 }; |
286 | 291 |
287 } // namespace proxy | 292 } // namespace proxy |
288 } // namespace ppapi | 293 } // namespace ppapi |
289 | 294 |
290 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 295 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
OLD | NEW |