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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual void LogWithSource(PP_Instance instance, | 59 virtual void LogWithSource(PP_Instance instance, |
60 PP_LogLevel log_level, | 60 PP_LogLevel log_level, |
61 PP_Var source, | 61 PP_Var source, |
62 PP_Var value) OVERRIDE; | 62 PP_Var value) OVERRIDE; |
63 virtual void SetPluginToHandleFindRequests(PP_Instance instance) OVERRIDE; | 63 virtual void SetPluginToHandleFindRequests(PP_Instance instance) OVERRIDE; |
64 virtual void NumberOfFindResultsChanged(PP_Instance instance, | 64 virtual void NumberOfFindResultsChanged(PP_Instance instance, |
65 int32_t total, | 65 int32_t total, |
66 PP_Bool final_result) OVERRIDE; | 66 PP_Bool final_result) OVERRIDE; |
67 virtual void SelectedFindResultChanged(PP_Instance instance, | 67 virtual void SelectedFindResultChanged(PP_Instance instance, |
68 int32_t index) OVERRIDE; | 68 int32_t index) OVERRIDE; |
| 69 virtual void SetTickmarks(PP_Instance instance, |
| 70 const PP_Rect* tickmarks, |
| 71 uint32_t count) OVERRIDE; |
69 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE; | 72 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE; |
70 virtual PP_Bool SetFullscreen(PP_Instance instance, | 73 virtual PP_Bool SetFullscreen(PP_Instance instance, |
71 PP_Bool fullscreen) OVERRIDE; | 74 PP_Bool fullscreen) OVERRIDE; |
72 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE; | 75 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE; |
73 virtual ppapi::Resource* GetSingletonResource( | 76 virtual ppapi::Resource* GetSingletonResource( |
74 PP_Instance instance, ppapi::SingletonResourceID id) OVERRIDE; | 77 PP_Instance instance, ppapi::SingletonResourceID id) OVERRIDE; |
75 virtual int32_t RequestInputEvents(PP_Instance instance, | 78 virtual int32_t RequestInputEvents(PP_Instance instance, |
76 uint32_t event_classes) OVERRIDE; | 79 uint32_t event_classes) OVERRIDE; |
77 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 80 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
78 uint32_t event_classes) OVERRIDE; | 81 uint32_t event_classes) OVERRIDE; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 scoped_refptr<PluginModule> plugin_module_; | 161 scoped_refptr<PluginModule> plugin_module_; |
159 ppapi::ScopedPPResource bound_graphics_; | 162 ppapi::ScopedPPResource bound_graphics_; |
160 | 163 |
161 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 164 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
162 }; | 165 }; |
163 | 166 |
164 } // namespace examples | 167 } // namespace examples |
165 } // namespace mojo | 168 } // namespace mojo |
166 | 169 |
167 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ | 170 #endif // MOJO_EXAMPLES_PEPPER_CONTAINER_APP_PLUGIN_INSTANCE_H_ |
OLD | NEW |