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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 7342009: Show a different banner in chrome://settings for extension-controlled settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix stuff Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" 9 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h"
10 #include "chrome/browser/prefs/pref_member.h" 10 #include "chrome/browser/prefs/pref_member.h"
11 #include "chrome/browser/search_engines/template_url_service_observer.h" 11 #include "chrome/browser/search_engines/template_url_service_observer.h"
12 #include "chrome/browser/shell_integration.h" 12 #include "chrome/browser/shell_integration.h"
13 #include "chrome/browser/ui/webui/options/options_ui.h" 13 #include "chrome/browser/ui/webui/options/options_ui.h"
14 #include "ui/base/models/table_model_observer.h" 14 #include "ui/base/models/table_model_observer.h"
15 15
16 class AutocompleteController; 16 class AutocompleteController;
17 class CustomHomePagesTableModel; 17 class CustomHomePagesTableModel;
18 class OptionsManagedBannerHandler;
19 class TemplateURLService; 18 class TemplateURLService;
20 19
21 // Chrome browser options page UI handler. 20 // Chrome browser options page UI handler.
22 class BrowserOptionsHandler : public OptionsPageUIHandler, 21 class BrowserOptionsHandler : public OptionsPageUIHandler,
23 public AutocompleteControllerDelegate, 22 public AutocompleteControllerDelegate,
24 public ShellIntegration::DefaultWebClientObserver, 23 public ShellIntegration::DefaultWebClientObserver,
25 public TemplateURLServiceObserver, 24 public TemplateURLServiceObserver,
26 public ui::TableModelObserver { 25 public ui::TableModelObserver {
27 public: 26 public:
28 BrowserOptionsHandler(); 27 BrowserOptionsHandler();
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 113
115 StringPrefMember homepage_; 114 StringPrefMember homepage_;
116 BooleanPrefMember default_browser_policy_; 115 BooleanPrefMember default_browser_policy_;
117 116
118 TemplateURLService* template_url_service_; // Weak. 117 TemplateURLService* template_url_service_; // Weak.
119 118
120 // TODO(stuartmorgan): Once there are no other clients of 119 // TODO(stuartmorgan): Once there are no other clients of
121 // CustomHomePagesTableModel, consider changing it to something more like 120 // CustomHomePagesTableModel, consider changing it to something more like
122 // TemplateURLService. 121 // TemplateURLService.
123 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_; 122 scoped_ptr<CustomHomePagesTableModel> startup_custom_pages_table_model_;
124 scoped_ptr<OptionsManagedBannerHandler> banner_handler_;
125 123
126 scoped_ptr<AutocompleteController> autocomplete_controller_; 124 scoped_ptr<AutocompleteController> autocomplete_controller_;
127 125
128 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 126 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
129 }; 127 };
130 128
131 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 129 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698