| 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> |
| 11 |
| 10 #include "base/macros.h" | 12 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | |
| 12 #include "content/renderer/mouse_lock_dispatcher.h" | 13 #include "content/renderer/mouse_lock_dispatcher.h" |
| 13 #include "content/renderer/pepper/fullscreen_container.h" | 14 #include "content/renderer/pepper/fullscreen_container.h" |
| 14 #include "content/renderer/render_widget_fullscreen.h" | 15 #include "content/renderer/render_widget_fullscreen.h" |
| 15 #include "third_party/WebKit/public/web/WebWidget.h" | 16 #include "third_party/WebKit/public/web/WebWidget.h" |
| 16 | 17 |
| 17 namespace blink { | 18 namespace blink { |
| 18 class WebLayer; | 19 class WebLayer; |
| 19 } | 20 } |
| 20 | 21 |
| 21 namespace content { | 22 namespace content { |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 76 |
| 76 private: | 77 private: |
| 77 // URL that is responsible for this widget, passed to ggl::CreateViewContext. | 78 // URL that is responsible for this widget, passed to ggl::CreateViewContext. |
| 78 GURL active_url_; | 79 GURL active_url_; |
| 79 | 80 |
| 80 // The plugin instance this widget wraps. | 81 // The plugin instance this widget wraps. |
| 81 PepperPluginInstanceImpl* plugin_; | 82 PepperPluginInstanceImpl* plugin_; |
| 82 | 83 |
| 83 blink::WebLayer* layer_; | 84 blink::WebLayer* layer_; |
| 84 | 85 |
| 85 scoped_ptr<MouseLockDispatcher> mouse_lock_dispatcher_; | 86 std::unique_ptr<MouseLockDispatcher> mouse_lock_dispatcher_; |
| 86 | 87 |
| 87 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); | 88 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 } // namespace content | 91 } // namespace content |
| 91 | 92 |
| 92 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ | 93 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ |
| OLD | NEW |