| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 webkit::ppapi::PluginModule* plugin_module); | 455 webkit::ppapi::PluginModule* plugin_module); |
| 456 | 456 |
| 457 // Implementation of PepperParentContextProvider. | 457 // Implementation of PepperParentContextProvider. |
| 458 virtual WebGraphicsContext3DCommandBufferImpl* | 458 virtual WebGraphicsContext3DCommandBufferImpl* |
| 459 GetParentContextForPlatformContext3D() OVERRIDE; | 459 GetParentContextForPlatformContext3D() OVERRIDE; |
| 460 | 460 |
| 461 MouseLockDispatcher::LockTarget* GetOrCreateLockTargetAdapter( | 461 MouseLockDispatcher::LockTarget* GetOrCreateLockTargetAdapter( |
| 462 webkit::ppapi::PluginInstance* instance); | 462 webkit::ppapi::PluginInstance* instance); |
| 463 void UnSetAndDeleteLockTargetAdapter(webkit::ppapi::PluginInstance* instance); | 463 void UnSetAndDeleteLockTargetAdapter(webkit::ppapi::PluginInstance* instance); |
| 464 | 464 |
| 465 MouseLockDispatcher* GetMouseLockDispatcher( |
| 466 webkit::ppapi::PluginInstance* instance); |
| 467 |
| 465 // Pointer to the RenderView that owns us. | 468 // Pointer to the RenderView that owns us. |
| 466 RenderViewImpl* render_view_; | 469 RenderViewImpl* render_view_; |
| 467 | 470 |
| 468 std::set<webkit::ppapi::PluginInstance*> active_instances_; | 471 std::set<webkit::ppapi::PluginInstance*> active_instances_; |
| 469 typedef std::map<webkit::ppapi::PluginInstance*, | 472 typedef std::map<webkit::ppapi::PluginInstance*, |
| 470 MouseLockDispatcher::LockTarget*> LockTargetMap; | 473 MouseLockDispatcher::LockTarget*> LockTargetMap; |
| 471 LockTargetMap mouse_lock_instances_; | 474 LockTargetMap mouse_lock_instances_; |
| 472 | 475 |
| 473 // Used to send a single context menu "completion" upon menu close. | 476 // Used to send a single context menu "completion" upon menu close. |
| 474 bool has_saved_context_menu_action_; | 477 bool has_saved_context_menu_action_; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 | 510 |
| 508 scoped_ptr<PepperDeviceEnumerationEventHandler> | 511 scoped_ptr<PepperDeviceEnumerationEventHandler> |
| 509 device_enumeration_event_handler_; | 512 device_enumeration_event_handler_; |
| 510 | 513 |
| 511 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 514 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 512 }; | 515 }; |
| 513 | 516 |
| 514 } // namespace content | 517 } // namespace content |
| 515 | 518 |
| 516 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 519 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |