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

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

Issue 2081103002: Rename PermissionBubbleManager to PermissionRequestManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 5 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 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "chrome/browser/android/data_usage/data_use_tab_helper.h" 56 #include "chrome/browser/android/data_usage/data_use_tab_helper.h"
57 #include "chrome/browser/android/offline_pages/offline_page_tab_helper.h" 57 #include "chrome/browser/android/offline_pages/offline_page_tab_helper.h"
58 #include "chrome/browser/android/offline_pages/recent_tab_helper.h" 58 #include "chrome/browser/android/offline_pages/recent_tab_helper.h"
59 #include "chrome/browser/android/voice_search_tab_helper.h" 59 #include "chrome/browser/android/voice_search_tab_helper.h"
60 #include "chrome/browser/android/webapps/single_tab_mode_tab_helper.h" 60 #include "chrome/browser/android/webapps/single_tab_mode_tab_helper.h"
61 #include "chrome/browser/ui/android/context_menu_helper.h" 61 #include "chrome/browser/ui/android/context_menu_helper.h"
62 #include "chrome/browser/ui/android/view_android_helper.h" 62 #include "chrome/browser/ui/android/view_android_helper.h"
63 #include "components/offline_pages/offline_page_feature.h" 63 #include "components/offline_pages/offline_page_feature.h"
64 #else 64 #else
65 #include "chrome/browser/banners/app_banner_manager_desktop.h" 65 #include "chrome/browser/banners/app_banner_manager_desktop.h"
66 #include "chrome/browser/permissions/permission_request_manager.h"
66 #include "chrome/browser/plugins/plugin_observer.h" 67 #include "chrome/browser/plugins/plugin_observer.h"
67 #include "chrome/browser/safe_browsing/safe_browsing_tab_observer.h" 68 #include "chrome/browser/safe_browsing/safe_browsing_tab_observer.h"
68 #include "chrome/browser/thumbnails/thumbnail_tab_helper.h" 69 #include "chrome/browser/thumbnails/thumbnail_tab_helper.h"
69 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h" 70 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
70 #include "chrome/browser/ui/hung_plugin_tab_helper.h" 71 #include "chrome/browser/ui/hung_plugin_tab_helper.h"
71 #include "chrome/browser/ui/sad_tab_helper.h" 72 #include "chrome/browser/ui/sad_tab_helper.h"
72 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" 73 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h"
73 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h" 74 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h"
74 #include "chrome/browser/ui/website_settings/permission_bubble_manager.h"
75 #include "components/pdf/browser/pdf_web_contents_helper.h" 75 #include "components/pdf/browser/pdf_web_contents_helper.h"
76 #include "components/web_modal/web_contents_modal_dialog_manager.h" 76 #include "components/web_modal/web_contents_modal_dialog_manager.h"
77 #include "components/zoom/zoom_controller.h" 77 #include "components/zoom/zoom_controller.h"
78 #endif // BUILDFLAG(ANDROID_JAVA_UI) 78 #endif // BUILDFLAG(ANDROID_JAVA_UI)
79 79
80 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 80 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
81 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h" 81 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h"
82 #endif 82 #endif
83 83
84 #if defined(ENABLE_EXTENSIONS) 84 #if defined(ENABLE_EXTENSIONS)
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 #else 195 #else
196 BookmarkTabHelper::CreateForWebContents(web_contents); 196 BookmarkTabHelper::CreateForWebContents(web_contents);
197 extensions::ChromeExtensionWebContentsObserver::CreateForWebContents( 197 extensions::ChromeExtensionWebContentsObserver::CreateForWebContents(
198 web_contents); 198 web_contents);
199 extensions::WebNavigationTabObserver::CreateForWebContents(web_contents); 199 extensions::WebNavigationTabObserver::CreateForWebContents(web_contents);
200 HungPluginTabHelper::CreateForWebContents(web_contents); 200 HungPluginTabHelper::CreateForWebContents(web_contents);
201 ManagePasswordsUIController::CreateForWebContents(web_contents); 201 ManagePasswordsUIController::CreateForWebContents(web_contents);
202 pdf::PDFWebContentsHelper::CreateForWebContentsWithClient( 202 pdf::PDFWebContentsHelper::CreateForWebContentsWithClient(
203 web_contents, std::unique_ptr<pdf::PDFWebContentsHelperClient>( 203 web_contents, std::unique_ptr<pdf::PDFWebContentsHelperClient>(
204 new ChromePDFWebContentsHelperClient())); 204 new ChromePDFWebContentsHelperClient()));
205 PermissionBubbleManager::CreateForWebContents(web_contents); 205 PermissionRequestManager::CreateForWebContents(web_contents);
206 PluginObserver::CreateForWebContents(web_contents); 206 PluginObserver::CreateForWebContents(web_contents);
207 SadTabHelper::CreateForWebContents(web_contents); 207 SadTabHelper::CreateForWebContents(web_contents);
208 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents); 208 safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents);
209 SearchEngineTabHelper::CreateForWebContents(web_contents); 209 SearchEngineTabHelper::CreateForWebContents(web_contents);
210 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents); 210 TabContentsSyncedTabDelegate::CreateForWebContents(web_contents);
211 TabDialogs::CreateForWebContents(web_contents); 211 TabDialogs::CreateForWebContents(web_contents);
212 ThumbnailTabHelper::CreateForWebContents(web_contents); 212 ThumbnailTabHelper::CreateForWebContents(web_contents);
213 web_modal::WebContentsModalDialogManager::CreateForWebContents(web_contents); 213 web_modal::WebContentsModalDialogManager::CreateForWebContents(web_contents);
214 214
215 if (banners::AppBannerManagerDesktop::IsEnabled()) { 215 if (banners::AppBannerManagerDesktop::IsEnabled()) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 249
250 if (predictors::ResourcePrefetchPredictorFactory::GetForProfile( 250 if (predictors::ResourcePrefetchPredictorFactory::GetForProfile(
251 web_contents->GetBrowserContext())) { 251 web_contents->GetBrowserContext())) {
252 predictors::ResourcePrefetchPredictorTabHelper::CreateForWebContents( 252 predictors::ResourcePrefetchPredictorTabHelper::CreateForWebContents(
253 web_contents); 253 web_contents);
254 } 254 }
255 255
256 if (tracing::NavigationTracingObserver::IsEnabled()) 256 if (tracing::NavigationTracingObserver::IsEnabled())
257 tracing::NavigationTracingObserver::CreateForWebContents(web_contents); 257 tracing::NavigationTracingObserver::CreateForWebContents(web_contents);
258 } 258 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698