| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ | 5 #ifndef MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ |
| 6 #define MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ | 6 #define MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "mojo/examples/pepper_container_app/plugin_module.h" | 10 #include "mojo/examples/pepper_container_app/plugin_module.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 virtual int32_t RequestInputEvents(PP_Instance instance, | 78 virtual int32_t RequestInputEvents(PP_Instance instance, |
| 79 uint32_t event_classes) OVERRIDE; | 79 uint32_t event_classes) OVERRIDE; |
| 80 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 80 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
| 81 uint32_t event_classes) OVERRIDE; | 81 uint32_t event_classes) OVERRIDE; |
| 82 virtual void ClearInputEventRequest(PP_Instance instance, | 82 virtual void ClearInputEventRequest(PP_Instance instance, |
| 83 uint32_t event_classes) OVERRIDE; | 83 uint32_t event_classes) OVERRIDE; |
| 84 virtual void StartTrackingLatency(PP_Instance instance) OVERRIDE; | 84 virtual void StartTrackingLatency(PP_Instance instance) OVERRIDE; |
| 85 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; | 85 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; |
| 86 virtual int32_t RegisterMessageHandler(PP_Instance instance, | 86 virtual int32_t RegisterMessageHandler(PP_Instance instance, |
| 87 void* user_data, | 87 void* user_data, |
| 88 const PPP_MessageHandler_0_1* handler, | 88 const PPP_MessageHandler_0_2* handler, |
| 89 PP_Resource message_loop) OVERRIDE; | 89 PP_Resource message_loop) OVERRIDE; |
| 90 virtual int32_t RegisterMessageHandler_1_1_Deprecated( |
| 91 PP_Instance instance, |
| 92 void* user_data, |
| 93 const PPP_MessageHandler_0_1_Deprecated* handler, |
| 94 PP_Resource message_loop) OVERRIDE; |
| 90 virtual void UnregisterMessageHandler(PP_Instance instance) OVERRIDE; | 95 virtual void UnregisterMessageHandler(PP_Instance instance) OVERRIDE; |
| 91 virtual PP_Bool SetCursor(PP_Instance instance, | 96 virtual PP_Bool SetCursor(PP_Instance instance, |
| 92 PP_MouseCursor_Type type, | 97 PP_MouseCursor_Type type, |
| 93 PP_Resource image, | 98 PP_Resource image, |
| 94 const PP_Point* hot_spot) OVERRIDE; | 99 const PP_Point* hot_spot) OVERRIDE; |
| 95 virtual int32_t LockMouse( | 100 virtual int32_t LockMouse( |
| 96 PP_Instance instance, | 101 PP_Instance instance, |
| 97 scoped_refptr<ppapi::TrackedCallback> callback) OVERRIDE; | 102 scoped_refptr<ppapi::TrackedCallback> callback) OVERRIDE; |
| 98 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; | 103 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; |
| 99 virtual void SetTextInputType(PP_Instance instance, | 104 virtual void SetTextInputType(PP_Instance instance, |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 scoped_refptr<PluginModule> plugin_module_; | 190 scoped_refptr<PluginModule> plugin_module_; |
| 186 ppapi::ScopedPPResource bound_graphics_; | 191 ppapi::ScopedPPResource bound_graphics_; |
| 187 | 192 |
| 188 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 193 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
| 189 }; | 194 }; |
| 190 | 195 |
| 191 } // namespace examples | 196 } // namespace examples |
| 192 } // namespace mojo | 197 } // namespace mojo |
| 193 | 198 |
| 194 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ | 199 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ |
| OLD | NEW |