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

Side by Side Diff: chrome/browser/dom_ui/options/core_options_handler.h

Issue 3859003: FBTF: Even more ctor/virtual deinlining. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DOM_UI_OPTIONS_CORE_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_CORE_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_DOM_UI_OPTIONS_CORE_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_DOM_UI_OPTIONS_CORE_OPTIONS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/dom_ui/options/options_ui.h" 13 #include "chrome/browser/dom_ui/options/options_ui.h"
14 #include "chrome/browser/prefs/pref_change_registrar.h" 14 #include "chrome/browser/prefs/pref_change_registrar.h"
15 15
16 // Core options UI handler. 16 // Core options UI handler.
17 // Handles resource and JS calls common to all options sub-pages. 17 // Handles resource and JS calls common to all options sub-pages.
18 class CoreOptionsHandler : public OptionsPageUIHandler { 18 class CoreOptionsHandler : public OptionsPageUIHandler {
19 public: 19 public:
20 CoreOptionsHandler(); 20 CoreOptionsHandler();
21 virtual ~CoreOptionsHandler();
21 22
22 // OptionsUIHandler implementation. 23 // OptionsUIHandler implementation.
23 virtual void GetLocalizedValues(DictionaryValue* localized_strings); 24 virtual void GetLocalizedValues(DictionaryValue* localized_strings);
24 virtual void Uninitialize(); 25 virtual void Uninitialize();
25 26
26 // NotificationObserver implementation. 27 // NotificationObserver implementation.
27 virtual void Observe(NotificationType type, 28 virtual void Observe(NotificationType type,
28 const NotificationSource& source, 29 const NotificationSource& source,
29 const NotificationDetails& details); 30 const NotificationDetails& details);
30 31
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void HandleUserMetricsAction(const ListValue* args); 100 void HandleUserMetricsAction(const ListValue* args);
100 101
101 void NotifyPrefChanged(const std::string* pref_name); 102 void NotifyPrefChanged(const std::string* pref_name);
102 103
103 PrefChangeRegistrar registrar_; 104 PrefChangeRegistrar registrar_;
104 105
105 DISALLOW_COPY_AND_ASSIGN(CoreOptionsHandler); 106 DISALLOW_COPY_AND_ASSIGN(CoreOptionsHandler);
106 }; 107 };
107 108
108 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_CORE_OPTIONS_HANDLER_H_ 109 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_CORE_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698