| Index: chrome/browser/extensions/settings_api_helpers.h
|
| diff --git a/chrome/browser/ui/views/settings_api_bubble_helper_views.h b/chrome/browser/extensions/settings_api_helpers.h
|
| similarity index 65%
|
| copy from chrome/browser/ui/views/settings_api_bubble_helper_views.h
|
| copy to chrome/browser/extensions/settings_api_helpers.h
|
| index a36a8064a6bc2edb907929c1c90a0afe91a62695..db2ba36022a0ba95715c036f5336cfac6ef1e035 100644
|
| --- a/chrome/browser/ui/views/settings_api_bubble_helper_views.h
|
| +++ b/chrome/browser/extensions/settings_api_helpers.h
|
| @@ -2,34 +2,18 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_
|
| -#define CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_
|
|
|
| #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler.h"
|
|
|
| -struct AutocompleteMatch;
|
| -class Browser;
|
| -class Profile;
|
| -
|
| namespace content {
|
| class BrowserContext;
|
| -class WebContents;
|
| }
|
|
|
| namespace extensions {
|
|
|
| -// Shows a bubble notifying the user that the homepage is controlled by an
|
| -// extension. This bubble is shown only on the first use of the Home button
|
| -// after the controlling extension takes effect.
|
| -void MaybeShowExtensionControlledHomeNotification(Browser* browser);
|
| -
|
| -// Shows a bubble notifying the user that the search engine is controlled by an
|
| -// extension. This bubble is shown only on the first search after the
|
| -// controlling extension takes effect.
|
| -void MaybeShowExtensionControlledSearchNotification(
|
| - Profile* profile,
|
| - content::WebContents* web_contents,
|
| - const AutocompleteMatch& match);
|
| +struct SettingsOverrides;
|
|
|
| // Find which |extension| is overriding a particular |type| of setting. Returns
|
| // the SettingsOverride object, or NULL if no |extension| is overriding that
|
| @@ -61,4 +45,4 @@ const Extension* OverridesSearchEngine(
|
|
|
| } // namespace extensions
|
|
|
| -#endif // CHROME_BROWSER_UI_VIEWS_SETTINGS_API_BUBBLE_HELPER_VIEWS_H_
|
| +#endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_
|
|
|