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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; | 86 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; |
87 virtual void ZoomLimitsChanged(PP_Instance instance, | 87 virtual void ZoomLimitsChanged(PP_Instance instance, |
88 double minimum_factor, | 88 double minimum_factor, |
89 double maximium_factor) OVERRIDE; | 89 double maximium_factor) OVERRIDE; |
90 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; | 90 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; |
91 virtual PP_Bool SetCursor(PP_Instance instance, | 91 virtual PP_Bool SetCursor(PP_Instance instance, |
92 PP_MouseCursor_Type type, | 92 PP_MouseCursor_Type type, |
93 PP_Resource image, | 93 PP_Resource image, |
94 const PP_Point* hot_spot) OVERRIDE; | 94 const PP_Point* hot_spot) OVERRIDE; |
95 virtual int32_t LockMouse(PP_Instance instance, | 95 virtual int32_t LockMouse(PP_Instance instance, |
96 PP_CompletionCallback callback) OVERRIDE; | 96 ApiCallbackType callback) OVERRIDE; |
97 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; | 97 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; |
98 | 98 |
99 #if !defined(OS_NACL) | 99 #if !defined(OS_NACL) |
100 virtual PP_Var ResolveRelativeToDocument( | 100 virtual PP_Var ResolveRelativeToDocument( |
101 PP_Instance instance, | 101 PP_Instance instance, |
102 PP_Var relative, | 102 PP_Var relative, |
103 PP_URLComponents_Dev* components) OVERRIDE; | 103 PP_URLComponents_Dev* components) OVERRIDE; |
104 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) OVERRIDE; | 104 virtual PP_Bool DocumentCanRequest(PP_Instance instance, PP_Var url) OVERRIDE; |
105 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance, | 105 virtual PP_Bool DocumentCanAccessDocument(PP_Instance instance, |
106 PP_Instance target) OVERRIDE; | 106 PP_Instance target) OVERRIDE; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); | 182 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); |
183 | 183 |
184 pp::CompletionCallbackFactory<PPB_Instance_Proxy, | 184 pp::CompletionCallbackFactory<PPB_Instance_Proxy, |
185 ProxyNonThreadSafeRefCount> callback_factory_; | 185 ProxyNonThreadSafeRefCount> callback_factory_; |
186 }; | 186 }; |
187 | 187 |
188 } // namespace proxy | 188 } // namespace proxy |
189 } // namespace ppapi | 189 } // namespace ppapi |
190 | 190 |
191 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 191 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
OLD | NEW |