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_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 scoped_refptr<PepperBrokerImpl> CreateBroker( | 470 scoped_refptr<PepperBrokerImpl> CreateBroker( |
471 webkit::ppapi::PluginModule* plugin_module); | 471 webkit::ppapi::PluginModule* plugin_module); |
472 | 472 |
473 // Create a new HostDispatcher for proxying, hook it to the PluginModule, | 473 // Create a new HostDispatcher for proxying, hook it to the PluginModule, |
474 // and perform other common initialization. | 474 // and perform other common initialization. |
475 RendererPpapiHost* CreateOutOfProcessModule( | 475 RendererPpapiHost* CreateOutOfProcessModule( |
476 webkit::ppapi::PluginModule* module, | 476 webkit::ppapi::PluginModule* module, |
477 const FilePath& path, | 477 const FilePath& path, |
478 ppapi::PpapiPermissions permissions, | 478 ppapi::PpapiPermissions permissions, |
479 const IPC::ChannelHandle& channel_handle, | 479 const IPC::ChannelHandle& channel_handle, |
480 int plugin_child_id); | 480 int plugin_child_id, |
| 481 bool is_external); |
481 | 482 |
482 // ContextMenuClient implementation. | 483 // ContextMenuClient implementation. |
483 virtual void OnMenuAction(int request_id, unsigned action) OVERRIDE; | 484 virtual void OnMenuAction(int request_id, unsigned action) OVERRIDE; |
484 virtual void OnMenuClosed(int request_id) OVERRIDE; | 485 virtual void OnMenuClosed(int request_id) OVERRIDE; |
485 | 486 |
486 // Implementation of PepperParentContextProvider. | 487 // Implementation of PepperParentContextProvider. |
487 virtual WebGraphicsContext3DCommandBufferImpl* | 488 virtual WebGraphicsContext3DCommandBufferImpl* |
488 GetParentContextForPlatformContext3D() OVERRIDE; | 489 GetParentContextForPlatformContext3D() OVERRIDE; |
489 | 490 |
490 MouseLockDispatcher::LockTarget* GetOrCreateLockTargetAdapter( | 491 MouseLockDispatcher::LockTarget* GetOrCreateLockTargetAdapter( |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 | 546 |
546 scoped_ptr<PepperDeviceEnumerationEventHandler> | 547 scoped_ptr<PepperDeviceEnumerationEventHandler> |
547 device_enumeration_event_handler_; | 548 device_enumeration_event_handler_; |
548 | 549 |
549 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 550 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
550 }; | 551 }; |
551 | 552 |
552 } // namespace content | 553 } // namespace content |
553 | 554 |
554 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 555 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |