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

Side by Side Diff: chrome/browser/ui/tab_helpers.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « chrome/browser/ui/tab_dialogs.h ('k') | chrome/browser/ui/tabs/pinned_tab_codec.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/ui/tab_helpers.h" 5 #include "chrome/browser/ui/tab_helpers.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/content_settings/chrome_content_settings_client.h" 10 #include "chrome/browser/content_settings/chrome_content_settings_client.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ViewAndroidHelper::CreateForWebContents(web_contents); 185 ViewAndroidHelper::CreateForWebContents(web_contents);
186 VoiceSearchTabHelper::CreateForWebContents(web_contents); 186 VoiceSearchTabHelper::CreateForWebContents(web_contents);
187 #else 187 #else
188 BookmarkTabHelper::CreateForWebContents(web_contents); 188 BookmarkTabHelper::CreateForWebContents(web_contents);
189 extensions::ChromeExtensionWebContentsObserver::CreateForWebContents( 189 extensions::ChromeExtensionWebContentsObserver::CreateForWebContents(
190 web_contents); 190 web_contents);
191 extensions::WebNavigationTabObserver::CreateForWebContents(web_contents); 191 extensions::WebNavigationTabObserver::CreateForWebContents(web_contents);
192 HungPluginTabHelper::CreateForWebContents(web_contents); 192 HungPluginTabHelper::CreateForWebContents(web_contents);
193 ManagePasswordsUIController::CreateForWebContents(web_contents); 193 ManagePasswordsUIController::CreateForWebContents(web_contents);
194 pdf::PDFWebContentsHelper::CreateForWebContentsWithClient( 194 pdf::PDFWebContentsHelper::CreateForWebContentsWithClient(
195 web_contents, 195 web_contents, std::unique_ptr<pdf::PDFWebContentsHelperClient>(
196 scoped_ptr<pdf::PDFWebContentsHelperClient>( 196 new ChromePDFWebContentsHelperClient()));
197 new ChromePDFWebContentsHelperClient()));
198 PermissionBubbleManager::CreateForWebContents(web_contents); 197 PermissionBubbleManager::CreateForWebContents(web_contents);
199 PluginObserver::CreateForWebContents(web_contents); 198 PluginObserver::CreateForWebContents(web_contents);
200 SadTabHelper::CreateForWebContents(web_contents); 199 SadTabHelper::CreateForWebContents(web_contents);
201 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents); 200 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents);
202 SearchEngineTabHelper::CreateForWebContents(web_contents); 201 SearchEngineTabHelper::CreateForWebContents(web_contents);
203 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents); 202 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents);
204 TabDialogs::CreateForWebContents(web_contents); 203 TabDialogs::CreateForWebContents(web_contents);
205 ThumbnailTabHelper::CreateForWebContents(web_contents); 204 ThumbnailTabHelper::CreateForWebContents(web_contents);
206 web_modal::WebContentsModalDialogManager::CreateForWebContents(web_contents); 205 web_modal::WebContentsModalDialogManager::CreateForWebContents(web_contents);
207 206
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 246
248 if (predictors::ResourcePrefetchPredictorFactory::GetForProfile( 247 if (predictors::ResourcePrefetchPredictorFactory::GetForProfile(
249 web_contents->GetBrowserContext())) { 248 web_contents->GetBrowserContext())) {
250 predictors::ResourcePrefetchPredictorTabHelper::CreateForWebContents( 249 predictors::ResourcePrefetchPredictorTabHelper::CreateForWebContents(
251 web_contents); 250 web_contents);
252 } 251 }
253 252
254 if (tracing::NavigationTracingObserver::IsEnabled()) 253 if (tracing::NavigationTracingObserver::IsEnabled())
255 tracing::NavigationTracingObserver::CreateForWebContents(web_contents); 254 tracing::NavigationTracingObserver::CreateForWebContents(web_contents);
256 } 255 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/tab_dialogs.h ('k') | chrome/browser/ui/tabs/pinned_tab_codec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698