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

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

Issue 7867044: PART1: Initiated the SignedSettings refactoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final rebase to ToT before hitting the CQ. Created 9 years, 1 month 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_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/ui/webui/options/chromeos/cros_options_page_ui_handler. h" 10 #include "chrome/browser/ui/webui/options/options_ui.h"
11 11
12 namespace base { 12 namespace base {
13 class DictionaryValue; 13 class DictionaryValue;
14 } 14 }
15 15
16 // ChromeOS system options page UI handler. 16 // ChromeOS system options page UI handler.
17 class SystemOptionsHandler 17 class SystemOptionsHandler
18 : public chromeos::CrosOptionsPageUIHandler, 18 : public OptionsPageUIHandler,
19 public base::SupportsWeakPtr<SystemOptionsHandler> { 19 public base::SupportsWeakPtr<SystemOptionsHandler> {
20 public: 20 public:
21 SystemOptionsHandler(); 21 SystemOptionsHandler();
22 virtual ~SystemOptionsHandler(); 22 virtual ~SystemOptionsHandler();
23 23
24 // OptionsPageUIHandler implementation. 24 // OptionsPageUIHandler implementation.
25 virtual void GetLocalizedValues(base::DictionaryValue* localized_strings); 25 virtual void GetLocalizedValues(base::DictionaryValue* localized_strings);
26 virtual void Initialize(); 26 virtual void Initialize();
27 27
28 virtual void RegisterMessages(); 28 virtual void RegisterMessages();
(...skipping 10 matching lines...) Expand all
39 void IncreaseScreenBrightnessCallback(const base::ListValue* args); 39 void IncreaseScreenBrightnessCallback(const base::ListValue* args);
40 40
41 private: 41 private:
42 // Callback for TouchpadHelper. 42 // Callback for TouchpadHelper.
43 void TouchpadExists(bool* exists); 43 void TouchpadExists(bool* exists);
44 44
45 DISALLOW_COPY_AND_ASSIGN(SystemOptionsHandler); 45 DISALLOW_COPY_AND_ASSIGN(SystemOptionsHandler);
46 }; 46 };
47 47
48 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_ 48 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_SYSTEM_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698