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

Side by Side Diff: chrome/browser/ui/webui/options/advanced_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: review 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_ADVANCED_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/prefs/pref_member.h" 9 #include "chrome/browser/prefs/pref_member.h"
10 #include "chrome/browser/prefs/pref_set_observer.h" 10 #include "chrome/browser/prefs/pref_set_observer.h"
11 #include "chrome/browser/printing/cloud_print/cloud_print_setup_handler.h" 11 #include "chrome/browser/printing/cloud_print/cloud_print_setup_handler.h"
12 #include "chrome/browser/ui/shell_dialogs.h" 12 #include "chrome/browser/ui/shell_dialogs.h"
13 #include "chrome/browser/ui/webui/options/options_ui.h" 13 #include "chrome/browser/ui/webui/options/options_ui.h"
14 14
15 class OptionsManagedBannerHandler;
16 class CloudPrintSetupHandler; 15 class CloudPrintSetupHandler;
17 16
18 // Chrome advanced options page UI handler. 17 // Chrome advanced options page UI handler.
19 class AdvancedOptionsHandler 18 class AdvancedOptionsHandler
20 : public OptionsPageUIHandler, 19 : public OptionsPageUIHandler,
21 public SelectFileDialog::Listener, 20 public SelectFileDialog::Listener,
22 public CloudPrintSetupHandlerDelegate { 21 public CloudPrintSetupHandlerDelegate {
23 public: 22 public:
24 AdvancedOptionsHandler(); 23 AdvancedOptionsHandler();
25 virtual ~AdvancedOptionsHandler(); 24 virtual ~AdvancedOptionsHandler();
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) 165 #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
167 BooleanPrefMember background_mode_enabled_; 166 BooleanPrefMember background_mode_enabled_;
168 #endif 167 #endif
169 168
170 FilePathPrefMember default_download_location_; 169 FilePathPrefMember default_download_location_;
171 BooleanPrefMember ask_for_save_location_; 170 BooleanPrefMember ask_for_save_location_;
172 BooleanPrefMember allow_file_selection_dialogs_; 171 BooleanPrefMember allow_file_selection_dialogs_;
173 StringPrefMember auto_open_files_; 172 StringPrefMember auto_open_files_;
174 IntegerPrefMember default_font_size_; 173 IntegerPrefMember default_font_size_;
175 scoped_ptr<PrefSetObserver> proxy_prefs_; 174 scoped_ptr<PrefSetObserver> proxy_prefs_;
176 scoped_ptr<OptionsManagedBannerHandler> banner_handler_;
177 175
178 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); 176 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler);
179 }; 177 };
180 178
181 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ 179 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/pref_ui.js ('k') | chrome/browser/ui/webui/options/advanced_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698