| 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_THUNK_INSTANCE_API_H_ | 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_ |
| 6 #define PPAPI_THUNK_INSTANCE_API_H_ | 6 #define PPAPI_THUNK_INSTANCE_API_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "ppapi/c/dev/ppb_url_util_dev.h" | 10 #include "ppapi/c/dev/ppb_url_util_dev.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 PP_Instance instance, SingletonResourceID id) = 0; | 102 PP_Instance instance, SingletonResourceID id) = 0; |
| 103 | 103 |
| 104 // InputEvent. | 104 // InputEvent. |
| 105 virtual int32_t RequestInputEvents(PP_Instance instance, | 105 virtual int32_t RequestInputEvents(PP_Instance instance, |
| 106 uint32_t event_classes) = 0; | 106 uint32_t event_classes) = 0; |
| 107 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 107 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
| 108 uint32_t event_classes) = 0; | 108 uint32_t event_classes) = 0; |
| 109 virtual void ClearInputEventRequest(PP_Instance instance, | 109 virtual void ClearInputEventRequest(PP_Instance instance, |
| 110 uint32_t event_classes) = 0; | 110 uint32_t event_classes) = 0; |
| 111 | 111 |
| 112 // InputEventPrivate. |
| 113 virtual void StartTrackingLatency(PP_Instance instance) = 0; |
| 114 |
| 112 // Messaging. | 115 // Messaging. |
| 113 virtual void PostMessage(PP_Instance instance, PP_Var message) = 0; | 116 virtual void PostMessage(PP_Instance instance, PP_Var message) = 0; |
| 114 | 117 |
| 115 // Mouse cursor. | 118 // Mouse cursor. |
| 116 virtual PP_Bool SetCursor(PP_Instance instance, | 119 virtual PP_Bool SetCursor(PP_Instance instance, |
| 117 PP_MouseCursor_Type type, | 120 PP_MouseCursor_Type type, |
| 118 PP_Resource image, | 121 PP_Resource image, |
| 119 const PP_Point* hot_spot) = 0; | 122 const PP_Point* hot_spot) = 0; |
| 120 | 123 |
| 121 // MouseLock. | 124 // MouseLock. |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 PP_URLComponents_Dev* components) = 0; | 196 PP_URLComponents_Dev* components) = 0; |
| 194 #endif // !defined(OS_NACL) | 197 #endif // !defined(OS_NACL) |
| 195 | 198 |
| 196 static const ApiID kApiID = API_ID_PPB_INSTANCE; | 199 static const ApiID kApiID = API_ID_PPB_INSTANCE; |
| 197 }; | 200 }; |
| 198 | 201 |
| 199 } // namespace thunk | 202 } // namespace thunk |
| 200 } // namespace ppapi | 203 } // namespace ppapi |
| 201 | 204 |
| 202 #endif // PPAPI_THUNK_INSTANCE_API_H_ | 205 #endif // PPAPI_THUNK_INSTANCE_API_H_ |
| OLD | NEW |