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

Side by Side 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, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_
7 7
8 struct AutocompleteMatch; 8 struct AutocompleteMatch;
9 class Browser; 9 class Browser;
10 class Profile; 10 class Profile;
(...skipping 10 matching lines...) Expand all
21 void MaybeShowExtensionControlledHomeNotification(Browser* browser); 21 void MaybeShowExtensionControlledHomeNotification(Browser* browser);
22 22
23 // Shows a bubble notifying the user that the search engine is controlled by an 23 // Shows a bubble notifying the user that the search engine is controlled by an
24 // extension. This bubble is shown only on the first search after the 24 // extension. This bubble is shown only on the first search after the
25 // controlling extension takes effect. 25 // controlling extension takes effect.
26 void MaybeShowExtensionControlledSearchNotification( 26 void MaybeShowExtensionControlledSearchNotification(
27 Profile* profile, 27 Profile* profile,
28 content::WebContents* web_contents, 28 content::WebContents* web_contents,
29 const AutocompleteMatch& match); 29 const AutocompleteMatch& match);
30 30
31 // Shows a bubble notifying the user that the new tab page is controlled by an
32 // extension. This bubble is shown only the first time the new tab page is shown
33 // after the controlling extension takes effect.
34 void MaybeShowExtensionControlledNewTabPage(
35 Browser* browser,
36 content::WebContents* web_contents);
37
31 } // namespace extensions 38 } // namespace extensions
32 39
33 #endif // CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_ 40 #endif // CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_
OLDNEW
« 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