| 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 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 void SimulateImeSetCompositionEvent( | 337 void SimulateImeSetCompositionEvent( |
| 338 const ::ppapi::InputEventData& input_event); | 338 const ::ppapi::InputEventData& input_event); |
| 339 | 339 |
| 340 ContentDecryptorDelegate* GetContentDecryptorDelegate(); | 340 ContentDecryptorDelegate* GetContentDecryptorDelegate(); |
| 341 | 341 |
| 342 // PPB_Instance_API implementation. | 342 // PPB_Instance_API implementation. |
| 343 virtual PP_Bool BindGraphics(PP_Instance instance, | 343 virtual PP_Bool BindGraphics(PP_Instance instance, |
| 344 PP_Resource device) OVERRIDE; | 344 PP_Resource device) OVERRIDE; |
| 345 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; | 345 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; |
| 346 virtual const ::ppapi::ViewData* GetViewData(PP_Instance instance) OVERRIDE; | 346 virtual const ::ppapi::ViewData* GetViewData(PP_Instance instance) OVERRIDE; |
| 347 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; |
| 347 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; | 348 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; |
| 348 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE; | 349 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE; |
| 349 virtual PP_Var ExecuteScript(PP_Instance instance, | 350 virtual PP_Var ExecuteScript(PP_Instance instance, |
| 350 PP_Var script, | 351 PP_Var script, |
| 351 PP_Var* exception) OVERRIDE; | 352 PP_Var* exception) OVERRIDE; |
| 352 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance) | 353 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance) |
| 353 OVERRIDE; | 354 OVERRIDE; |
| 354 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) | 355 virtual uint32_t GetAudioHardwareOutputBufferSize(PP_Instance instance) |
| 355 OVERRIDE; | 356 OVERRIDE; |
| 356 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; | 357 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 758 // calls and handles PPB_ContentDecryptor_Private calls. | 759 // calls and handles PPB_ContentDecryptor_Private calls. |
| 759 scoped_ptr<ContentDecryptorDelegate> content_decryptor_delegate_; | 760 scoped_ptr<ContentDecryptorDelegate> content_decryptor_delegate_; |
| 760 | 761 |
| 761 DISALLOW_COPY_AND_ASSIGN(PluginInstance); | 762 DISALLOW_COPY_AND_ASSIGN(PluginInstance); |
| 762 }; | 763 }; |
| 763 | 764 |
| 764 } // namespace ppapi | 765 } // namespace ppapi |
| 765 } // namespace webkit | 766 } // namespace webkit |
| 766 | 767 |
| 767 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ | 768 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ |
| OLD | NEW |