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

Side by Side Diff: chrome/browser/ui/webui/options2/browser_options_handler2.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: 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 28 matching lines...) Expand all
39 public TemplateURLServiceObserver { 39 public TemplateURLServiceObserver {
40 public: 40 public:
41 BrowserOptionsHandler(); 41 BrowserOptionsHandler();
42 virtual ~BrowserOptionsHandler(); 42 virtual ~BrowserOptionsHandler();
43 43
44 virtual void Initialize() OVERRIDE; 44 virtual void Initialize() OVERRIDE;
45 45
46 // OptionsPageUIHandler implementation. 46 // OptionsPageUIHandler implementation.
47 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; 47 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE;
48 virtual void RegisterMessages() OVERRIDE; 48 virtual void RegisterMessages() OVERRIDE;
49 virtual void SendPageValues() OVERRIDE;
49 50
50 // ProfileSyncServiceObserver implementation. 51 // ProfileSyncServiceObserver implementation.
51 virtual void OnStateChanged() OVERRIDE; 52 virtual void OnStateChanged() OVERRIDE;
52 53
53 // ShellIntegration::DefaultWebClientObserver implementation. 54 // ShellIntegration::DefaultWebClientObserver implementation.
54 virtual void SetDefaultWebClientUIState( 55 virtual void SetDefaultWebClientUIState(
55 ShellIntegration::DefaultWebClientUIState state) OVERRIDE; 56 ShellIntegration::DefaultWebClientUIState state) OVERRIDE;
56 57
57 // TemplateURLServiceObserver implementation. 58 // TemplateURLServiceObserver implementation.
58 virtual void OnTemplateURLServiceChanged() OVERRIDE; 59 virtual void OnTemplateURLServiceChanged() OVERRIDE;
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 #if !defined(OS_CHROMEOS) 302 #if !defined(OS_CHROMEOS)
302 scoped_ptr<PrefSetObserver> proxy_prefs_; 303 scoped_ptr<PrefSetObserver> proxy_prefs_;
303 #endif // !defined(OS_CHROMEOS) 304 #endif // !defined(OS_CHROMEOS)
304 305
305 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 306 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
306 }; 307 };
307 308
308 } // namespace options2 309 } // namespace options2
309 310
310 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_ 311 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_BROWSER_OPTIONS_HANDLER2_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698