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 "ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
9 #include "ppapi/c/pp_resource.h" | 9 #include "ppapi/c/pp_resource.h" |
10 #include "ppapi/c/pp_time.h" | 10 #include "ppapi/c/pp_time.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; | 78 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; |
79 virtual void ZoomLimitsChanged(PP_Instance instance, | 79 virtual void ZoomLimitsChanged(PP_Instance instance, |
80 double minimum_factor, | 80 double minimum_factor, |
81 double maximium_factor) OVERRIDE; | 81 double maximium_factor) OVERRIDE; |
82 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; | 82 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; |
83 virtual PP_Bool SetCursor(PP_Instance instance, | 83 virtual PP_Bool SetCursor(PP_Instance instance, |
84 PP_MouseCursor_Type type, | 84 PP_MouseCursor_Type type, |
85 PP_Resource image, | 85 PP_Resource image, |
86 const PP_Point* hot_spot) OVERRIDE; | 86 const PP_Point* hot_spot) OVERRIDE; |
87 virtual int32_t LockMouse(PP_Instance instance, | 87 virtual int32_t LockMouse(PP_Instance instance, |
88 PP_CompletionCallback callback) OVERRIDE; | 88 scoped_refptr<TrackedCallback> callback) OVERRIDE; |
89 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; | 89 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; |
90 virtual PP_Bool GetDefaultPrintSettings( | 90 virtual PP_Bool GetDefaultPrintSettings( |
91 PP_Instance instance, | 91 PP_Instance instance, |
92 PP_PrintSettings_Dev* print_settings) OVERRIDE; | 92 PP_PrintSettings_Dev* print_settings) OVERRIDE; |
93 virtual void SetTextInputType(PP_Instance instance, | 93 virtual void SetTextInputType(PP_Instance instance, |
94 PP_TextInput_Type type) OVERRIDE; | 94 PP_TextInput_Type type) OVERRIDE; |
95 virtual void UpdateCaretPosition(PP_Instance instance, | 95 virtual void UpdateCaretPosition(PP_Instance instance, |
96 const PP_Rect& caret, | 96 const PP_Rect& caret, |
97 const PP_Rect& bounding_box) OVERRIDE; | 97 const PP_Rect& bounding_box) OVERRIDE; |
98 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; | 98 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); | 195 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); |
196 | 196 |
197 pp::CompletionCallbackFactory<PPB_Instance_Proxy, | 197 pp::CompletionCallbackFactory<PPB_Instance_Proxy, |
198 ProxyNonThreadSafeRefCount> callback_factory_; | 198 ProxyNonThreadSafeRefCount> callback_factory_; |
199 }; | 199 }; |
200 | 200 |
201 } // namespace proxy | 201 } // namespace proxy |
202 } // namespace ppapi | 202 } // namespace ppapi |
203 | 203 |
204 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 204 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
OLD | NEW |