| 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 CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 } | 340 } |
| 341 | 341 |
| 342 ContentDecryptorDelegate* GetContentDecryptorDelegate(); | 342 ContentDecryptorDelegate* GetContentDecryptorDelegate(); |
| 343 | 343 |
| 344 // PluginInstance implementation | 344 // PluginInstance implementation |
| 345 virtual RenderView* GetRenderView() OVERRIDE; | 345 virtual RenderView* GetRenderView() OVERRIDE; |
| 346 virtual WebKit::WebPluginContainer* GetContainer() OVERRIDE; | 346 virtual WebKit::WebPluginContainer* GetContainer() OVERRIDE; |
| 347 virtual ppapi::VarTracker* GetVarTracker() OVERRIDE; | 347 virtual ppapi::VarTracker* GetVarTracker() OVERRIDE; |
| 348 virtual const GURL& GetPluginURL() OVERRIDE; | 348 virtual const GURL& GetPluginURL() OVERRIDE; |
| 349 virtual base::FilePath GetModulePath() OVERRIDE; | 349 virtual base::FilePath GetModulePath() OVERRIDE; |
| 350 virtual PP_Resource CreateExternalFileReference( |
| 351 const base::FilePath& external_file_path) OVERRIDE; |
| 350 virtual PP_Resource CreateImage(gfx::ImageSkia* source_image, | 352 virtual PP_Resource CreateImage(gfx::ImageSkia* source_image, |
| 351 float scale) OVERRIDE; | 353 float scale) OVERRIDE; |
| 352 virtual PP_ExternalPluginResult SwitchToOutOfProcessProxy( | 354 virtual PP_ExternalPluginResult SwitchToOutOfProcessProxy( |
| 353 const base::FilePath& file_path, | 355 const base::FilePath& file_path, |
| 354 ppapi::PpapiPermissions permissions, | 356 ppapi::PpapiPermissions permissions, |
| 355 const IPC::ChannelHandle& channel_handle, | 357 const IPC::ChannelHandle& channel_handle, |
| 356 base::ProcessId plugin_pid, | 358 base::ProcessId plugin_pid, |
| 357 int plugin_child_id) OVERRIDE; | 359 int plugin_child_id) OVERRIDE; |
| 358 virtual void SetAlwaysOnTop(bool on_top) OVERRIDE; | 360 virtual void SetAlwaysOnTop(bool on_top) OVERRIDE; |
| 359 virtual bool IsFullPagePlugin() OVERRIDE; | 361 virtual bool IsFullPagePlugin() OVERRIDE; |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 | 849 |
| 848 scoped_ptr<MouseLockDispatcher::LockTarget> lock_target_; | 850 scoped_ptr<MouseLockDispatcher::LockTarget> lock_target_; |
| 849 | 851 |
| 850 friend class PpapiPluginInstanceTest; | 852 friend class PpapiPluginInstanceTest; |
| 851 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); | 853 DISALLOW_COPY_AND_ASSIGN(PepperPluginInstanceImpl); |
| 852 }; | 854 }; |
| 853 | 855 |
| 854 } // namespace content | 856 } // namespace content |
| 855 | 857 |
| 856 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ | 858 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_IMPL_H_ |
| OLD | NEW |