OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 | 257 |
258 // PPB_Instance_API implementation. | 258 // PPB_Instance_API implementation. |
259 virtual PP_Bool BindGraphics(PP_Instance instance, | 259 virtual PP_Bool BindGraphics(PP_Instance instance, |
260 PP_Resource device) OVERRIDE; | 260 PP_Resource device) OVERRIDE; |
261 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; | 261 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; |
262 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; | 262 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; |
263 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE; | 263 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE; |
264 virtual PP_Var ExecuteScript(PP_Instance instance, | 264 virtual PP_Var ExecuteScript(PP_Instance instance, |
265 PP_Var script, | 265 PP_Var script, |
266 PP_Var* exception) OVERRIDE; | 266 PP_Var* exception) OVERRIDE; |
| 267 virtual void Log(PP_Instance instance, |
| 268 int log_level, |
| 269 PP_Var value) OVERRIDE; |
| 270 virtual void LogWithSource(PP_Instance instance, |
| 271 int log_level, |
| 272 PP_Var source, |
| 273 PP_Var value) OVERRIDE; |
267 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE; | 274 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE; |
268 virtual PP_Bool SetFullscreen(PP_Instance instance, | 275 virtual PP_Bool SetFullscreen(PP_Instance instance, |
269 PP_Bool fullscreen) OVERRIDE; | 276 PP_Bool fullscreen) OVERRIDE; |
270 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE; | 277 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE; |
271 virtual int32_t RequestInputEvents(PP_Instance instance, | 278 virtual int32_t RequestInputEvents(PP_Instance instance, |
272 uint32_t event_classes) OVERRIDE; | 279 uint32_t event_classes) OVERRIDE; |
273 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 280 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
274 uint32_t event_classes) OVERRIDE; | 281 uint32_t event_classes) OVERRIDE; |
275 virtual void ClearInputEventRequest(PP_Instance instance, | 282 virtual void ClearInputEventRequest(PP_Instance instance, |
276 uint32_t event_classes) OVERRIDE; | 283 uint32_t event_classes) OVERRIDE; |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 | 483 |
477 PP_CompletionCallback lock_mouse_callback_; | 484 PP_CompletionCallback lock_mouse_callback_; |
478 | 485 |
479 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 486 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
480 }; | 487 }; |
481 | 488 |
482 } // namespace ppapi | 489 } // namespace ppapi |
483 } // namespace webkit | 490 } // namespace webkit |
484 | 491 |
485 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 492 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
OLD | NEW |