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

Side by Side Diff: components/plugins/renderer/webview_plugin.h

Issue 1921923002: Convert //components/[o-t]* 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 5 #ifndef COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory>
9 10
10 #include "base/memory/scoped_ptr.h"
11 #include "base/sequenced_task_runner_helpers.h" 11 #include "base/sequenced_task_runner_helpers.h"
12 #include "content/public/renderer/render_view_observer.h" 12 #include "content/public/renderer/render_view_observer.h"
13 #include "third_party/WebKit/public/platform/WebCursorInfo.h" 13 #include "third_party/WebKit/public/platform/WebCursorInfo.h"
14 #include "third_party/WebKit/public/platform/WebString.h" 14 #include "third_party/WebKit/public/platform/WebString.h"
15 #include "third_party/WebKit/public/platform/WebURLResponse.h" 15 #include "third_party/WebKit/public/platform/WebURLResponse.h"
16 #include "third_party/WebKit/public/web/WebFrameClient.h" 16 #include "third_party/WebKit/public/web/WebFrameClient.h"
17 #include "third_party/WebKit/public/web/WebKit.h" 17 #include "third_party/WebKit/public/web/WebKit.h"
18 #include "third_party/WebKit/public/web/WebPlugin.h" 18 #include "third_party/WebKit/public/web/WebPlugin.h"
19 #include "third_party/WebKit/public/web/WebViewClient.h" 19 #include "third_party/WebKit/public/web/WebViewClient.h"
20 20
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 // Owned by us, deleted via |close()|. 168 // Owned by us, deleted via |close()|.
169 blink::WebFrameWidget* web_frame_widget_; 169 blink::WebFrameWidget* web_frame_widget_;
170 170
171 // Owned by us, deleted via |close()|. 171 // Owned by us, deleted via |close()|.
172 blink::WebFrame* web_frame_; 172 blink::WebFrame* web_frame_;
173 gfx::Rect rect_; 173 gfx::Rect rect_;
174 174
175 blink::WebURLResponse response_; 175 blink::WebURLResponse response_;
176 std::list<std::string> data_; 176 std::list<std::string> data_;
177 scoped_ptr<blink::WebURLError> error_; 177 std::unique_ptr<blink::WebURLError> error_;
178 blink::WebString old_title_; 178 blink::WebString old_title_;
179 bool finished_loading_; 179 bool finished_loading_;
180 bool focused_; 180 bool focused_;
181 bool is_painting_; 181 bool is_painting_;
182 bool is_resizing_; 182 bool is_resizing_;
183 }; 183 };
184 184
185 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 185 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
OLDNEW
« no previous file with comments | « components/plugins/renderer/loadable_plugin_placeholder.cc ('k') | components/power/origin_power_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698