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_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "content/renderer/mouse_lock_dispatcher.h" | 13 #include "content/renderer/mouse_lock_dispatcher.h" |
14 #include "content/renderer/pepper/fullscreen_container.h" | 14 #include "content/renderer/pepper/fullscreen_container.h" |
15 #include "content/renderer/render_widget_fullscreen.h" | 15 #include "content/renderer/render_widget_fullscreen.h" |
16 #include "third_party/WebKit/public/web/WebWidget.h" | 16 #include "third_party/WebKit/public/web/WebWidget.h" |
| 17 #include "url/gurl.h" |
17 | 18 |
18 namespace blink { | 19 namespace blink { |
19 class WebLayer; | 20 class WebLayer; |
20 } | 21 } |
21 | 22 |
22 namespace content { | 23 namespace content { |
23 class PepperPluginInstanceImpl; | 24 class PepperPluginInstanceImpl; |
24 | 25 |
25 // A RenderWidget that hosts a fullscreen pepper plugin. This provides a | 26 // A RenderWidget that hosts a fullscreen pepper plugin. This provides a |
26 // FullscreenContainer that the plugin instance can callback into to e.g. | 27 // FullscreenContainer that the plugin instance can callback into to e.g. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 blink::WebLayer* layer_; | 85 blink::WebLayer* layer_; |
85 | 86 |
86 std::unique_ptr<MouseLockDispatcher> mouse_lock_dispatcher_; | 87 std::unique_ptr<MouseLockDispatcher> mouse_lock_dispatcher_; |
87 | 88 |
88 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); | 89 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); |
89 }; | 90 }; |
90 | 91 |
91 } // namespace content | 92 } // namespace content |
92 | 93 |
93 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ | 94 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ |
OLD | NEW |