Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Side by Side Diff: content/renderer/render_widget_fullscreen_pepper.h

Issue 1873783003: Convert //content/renderer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/renderer/render_widget_browsertest.cc ('k') | content/renderer/renderer_blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698