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

Unified Diff: chrome/browser/ui/views/settings_api_bubble_helper_views.h

Issue 246653003: Settings Overides -- warn user when extensions override their NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/settings_api_bubble_helper_views.h
diff --git a/chrome/browser/ui/views/settings_api_bubble_helper_views.h b/chrome/browser/ui/views/settings_api_bubble_helper_views.h
index a475ed71c3e4d9a4e4ab3b018c4b676a37faf62f..e5892f83394a17db2a86f567d96cc50ecf65f72d 100644
--- a/chrome/browser/ui/views/settings_api_bubble_helper_views.h
+++ b/chrome/browser/ui/views/settings_api_bubble_helper_views.h
@@ -28,6 +28,13 @@ void MaybeShowExtensionControlledSearchNotification(
content::WebContents* web_contents,
const AutocompleteMatch& match);
+// Shows a bubble notifying the user that the new tab page is controlled by an
+// extension. This bubble is shown only the first time the new tab page is shown
+// after the controlling extension takes effect.
+void MaybeShowExtensionControlledNewTabPage(
+ Browser* browser,
+ content::WebContents* web_contents);
+
} // namespace extensions
#endif // CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/settings_api_bubble_helper_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698