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

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

Issue 9693032: [uber page] Split up initialization of handlers from initialization of webui pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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/printing/cloud_print/cloud_print_setup_handler.h" 10 #include "chrome/browser/printing/cloud_print/cloud_print_setup_handler.h"
(...skipping 10 matching lines...) Expand all
21 class AdvancedOptionsHandler 21 class AdvancedOptionsHandler
22 : public OptionsPageUIHandler, 22 : public OptionsPageUIHandler,
23 public SelectFileDialog::Listener, 23 public SelectFileDialog::Listener,
24 public CloudPrintSetupHandlerDelegate { 24 public CloudPrintSetupHandlerDelegate {
25 public: 25 public:
26 AdvancedOptionsHandler(); 26 AdvancedOptionsHandler();
27 virtual ~AdvancedOptionsHandler(); 27 virtual ~AdvancedOptionsHandler();
28 28
29 // OptionsPageUIHandler implementation. 29 // OptionsPageUIHandler implementation.
30 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; 30 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE;
31 virtual void Initialize() OVERRIDE; 31 virtual void InitializeHandler() OVERRIDE;
32 32
33 // WebUIMessageHandler implementation. 33 // WebUIMessageHandler implementation.
34 virtual void RegisterMessages() OVERRIDE; 34 virtual void RegisterMessages() OVERRIDE;
35 35
36 // content::NotificationObserver implementation. 36 // content::NotificationObserver implementation.
37 virtual void Observe(int type, 37 virtual void Observe(int type,
38 const content::NotificationSource& source, 38 const content::NotificationSource& source,
39 const content::NotificationDetails& details) OVERRIDE; 39 const content::NotificationDetails& details) OVERRIDE;
40 40
41 // SelectFileDialog::Listener implementation 41 // SelectFileDialog::Listener implementation
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 DoublePrefMember default_zoom_level_; 174 DoublePrefMember default_zoom_level_;
175 175
176 #if !defined(OS_CHROMEOS) 176 #if !defined(OS_CHROMEOS)
177 scoped_ptr<PrefSetObserver> proxy_prefs_; 177 scoped_ptr<PrefSetObserver> proxy_prefs_;
178 #endif // !defined(OS_CHROMEOS) 178 #endif // !defined(OS_CHROMEOS)
179 179
180 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); 180 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler);
181 }; 181 };
182 182
183 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_ 183 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_ADVANCED_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698