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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 uint32_t event_classes) override; | 78 uint32_t event_classes) override; |
79 void ZoomChanged(PP_Instance instance, double factor) override; | 79 void ZoomChanged(PP_Instance instance, double factor) override; |
80 void ZoomLimitsChanged(PP_Instance instance, | 80 void ZoomLimitsChanged(PP_Instance instance, |
81 double minimum_factor, | 81 double minimum_factor, |
82 double maximium_factor) override; | 82 double maximium_factor) override; |
83 void PostMessage(PP_Instance instance, PP_Var message) override; | 83 void PostMessage(PP_Instance instance, PP_Var message) override; |
84 int32_t RegisterMessageHandler(PP_Instance instance, | 84 int32_t RegisterMessageHandler(PP_Instance instance, |
85 void* user_data, | 85 void* user_data, |
86 const PPP_MessageHandler_0_2* handler, | 86 const PPP_MessageHandler_0_2* handler, |
87 PP_Resource message_loop) override; | 87 PP_Resource message_loop) override; |
88 int32_t RegisterMessageHandler_1_1_Deprecated( | |
89 PP_Instance instance, | |
90 void* user_data, | |
91 const PPP_MessageHandler_0_1_Deprecated* handler, | |
92 PP_Resource message_loop) override; | |
93 void UnregisterMessageHandler(PP_Instance instance) override; | 88 void UnregisterMessageHandler(PP_Instance instance) override; |
94 PP_Bool SetCursor(PP_Instance instance, | 89 PP_Bool SetCursor(PP_Instance instance, |
95 PP_MouseCursor_Type type, | 90 PP_MouseCursor_Type type, |
96 PP_Resource image, | 91 PP_Resource image, |
97 const PP_Point* hot_spot) override; | 92 const PP_Point* hot_spot) override; |
98 int32_t LockMouse(PP_Instance instance, | 93 int32_t LockMouse(PP_Instance instance, |
99 scoped_refptr<TrackedCallback> callback) override; | 94 scoped_refptr<TrackedCallback> callback) override; |
100 void UnlockMouse(PP_Instance instance) override; | 95 void UnlockMouse(PP_Instance instance) override; |
101 void SetTextInputType(PP_Instance instance, PP_TextInput_Type type) override; | 96 void SetTextInputType(PP_Instance instance, PP_TextInput_Type type) override; |
102 void UpdateCaretPosition(PP_Instance instance, | 97 void UpdateCaretPosition(PP_Instance instance, |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 // Other helpers. | 311 // Other helpers. |
317 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); | 312 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); |
318 | 313 |
319 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; | 314 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; |
320 }; | 315 }; |
321 | 316 |
322 } // namespace proxy | 317 } // namespace proxy |
323 } // namespace ppapi | 318 } // namespace ppapi |
324 | 319 |
325 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 320 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
OLD | NEW |