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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 class PluginModule; | 46 class PluginModule; |
47 } | 47 } |
48 } | 48 } |
49 | 49 |
50 namespace WebKit { | 50 namespace WebKit { |
51 class WebGamepads; | 51 class WebGamepads; |
52 struct WebCompositionUnderline; | 52 struct WebCompositionUnderline; |
53 } | 53 } |
54 | 54 |
55 namespace content { | 55 namespace content { |
| 56 class ContextProviderCommandBuffer; |
56 class GamepadSharedMemoryReader; | 57 class GamepadSharedMemoryReader; |
57 class PepperBrokerImpl; | 58 class PepperBrokerImpl; |
58 class PepperDeviceEnumerationEventHandler; | 59 class PepperDeviceEnumerationEventHandler; |
59 class RenderViewImpl; | 60 class RenderViewImpl; |
60 | 61 |
61 class PepperPluginDelegateImpl | 62 class PepperPluginDelegateImpl |
62 : public webkit::ppapi::PluginDelegate, | 63 : public webkit::ppapi::PluginDelegate, |
63 public RenderViewPepperHelper, | 64 public RenderViewPepperHelper, |
64 public base::SupportsWeakPtr<PepperPluginDelegateImpl>, | 65 public base::SupportsWeakPtr<PepperPluginDelegateImpl>, |
65 public PepperParentContextProvider, | 66 public PepperParentContextProvider, |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 // if the last mouse event went to elements other than Pepper plugins. | 425 // if the last mouse event went to elements other than Pepper plugins. |
425 // |last_mouse_event_target_| is not owned by this class. We can know about | 426 // |last_mouse_event_target_| is not owned by this class. We can know about |
426 // when it is destroyed via InstanceDeleted(). | 427 // when it is destroyed via InstanceDeleted(). |
427 webkit::ppapi::PluginInstance* last_mouse_event_target_; | 428 webkit::ppapi::PluginInstance* last_mouse_event_target_; |
428 | 429 |
429 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 430 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
430 | 431 |
431 scoped_ptr<PepperDeviceEnumerationEventHandler> | 432 scoped_ptr<PepperDeviceEnumerationEventHandler> |
432 device_enumeration_event_handler_; | 433 device_enumeration_event_handler_; |
433 | 434 |
| 435 scoped_refptr<ContextProviderCommandBuffer> offscreen_context3d_; |
| 436 |
434 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 437 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
435 }; | 438 }; |
436 | 439 |
437 } // namespace content | 440 } // namespace content |
438 | 441 |
439 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 442 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |