| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 PP_Bool fullscreen) OVERRIDE; | 74 PP_Bool fullscreen) OVERRIDE; |
| 75 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE; | 75 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE; |
| 76 virtual ppapi::Resource* GetSingletonResource( | 76 virtual ppapi::Resource* GetSingletonResource( |
| 77 PP_Instance instance, ppapi::SingletonResourceID id) OVERRIDE; | 77 PP_Instance instance, ppapi::SingletonResourceID id) OVERRIDE; |
| 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 PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; | 85 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; |
| 85 virtual PP_Bool SetCursor(PP_Instance instance, | 86 virtual PP_Bool SetCursor(PP_Instance instance, |
| 86 PP_MouseCursor_Type type, | 87 PP_MouseCursor_Type type, |
| 87 PP_Resource image, | 88 PP_Resource image, |
| 88 const PP_Point* hot_spot) OVERRIDE; | 89 const PP_Point* hot_spot) OVERRIDE; |
| 89 virtual int32_t LockMouse( | 90 virtual int32_t LockMouse( |
| 90 PP_Instance instance, | 91 PP_Instance instance, |
| 91 scoped_refptr<ppapi::TrackedCallback> callback) OVERRIDE; | 92 scoped_refptr<ppapi::TrackedCallback> callback) OVERRIDE; |
| 92 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; | 93 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; |
| 93 virtual void SetTextInputType(PP_Instance instance, | 94 virtual void SetTextInputType(PP_Instance instance, |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 scoped_refptr<PluginModule> plugin_module_; | 162 scoped_refptr<PluginModule> plugin_module_; |
| 162 ppapi::ScopedPPResource bound_graphics_; | 163 ppapi::ScopedPPResource bound_graphics_; |
| 163 | 164 |
| 164 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 165 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
| 165 }; | 166 }; |
| 166 | 167 |
| 167 } // namespace examples | 168 } // namespace examples |
| 168 } // namespace mojo | 169 } // namespace mojo |
| 169 | 170 |
| 170 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ | 171 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ |
| OLD | NEW |