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 void SetTextInputType(PP_Instance instance, | 90 virtual void SetTextInputType(PP_Instance instance, |
91 PP_TextInput_Type type) OVERRIDE; | 91 PP_TextInput_Type type) OVERRIDE; |
92 virtual void UpdateCaretPosition(PP_Instance instance, | 92 virtual void UpdateCaretPosition(PP_Instance instance, |
93 const PP_Rect& caret, | 93 const PP_Rect& caret, |
94 const PP_Rect& bounding_box) OVERRIDE; | 94 const PP_Rect& bounding_box) OVERRIDE; |
95 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; | 95 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; |
96 virtual void SelectionChanged(PP_Instance instance) OVERRIDE; | 96 virtual void SelectionChanged(PP_Instance instance) OVERRIDE; |
97 virtual void UpdateSurroundingText(PP_Instance instance, | 97 virtual void UpdateSurroundingText(PP_Instance instance, |
98 const char* text, | 98 const char* text, |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); | 189 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); |
190 | 190 |
191 pp::CompletionCallbackFactory<PPB_Instance_Proxy, | 191 pp::CompletionCallbackFactory<PPB_Instance_Proxy, |
192 ProxyNonThreadSafeRefCount> callback_factory_; | 192 ProxyNonThreadSafeRefCount> callback_factory_; |
193 }; | 193 }; |
194 | 194 |
195 } // namespace proxy | 195 } // namespace proxy |
196 } // namespace ppapi | 196 } // namespace ppapi |
197 | 197 |
198 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 198 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
OLD | NEW |