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