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

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

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_POWER_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_POWER_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_POWER_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_POWER_HANDLER_H_
7 7
8 #include "ash/common/system/chromeos/power/power_status.h" 8 #include "ash/system/power/power_status.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "chrome/browser/ui/webui/options/options_ui.h" 11 #include "chrome/browser/ui/webui/options/options_ui.h"
12 12
13 namespace chromeos { 13 namespace chromeos {
14 namespace options { 14 namespace options {
15 15
16 // Shows battery status and power settings. 16 // Shows battery status and power settings.
17 class PowerHandler : public ::options::OptionsPageUIHandler, 17 class PowerHandler : public ::options::OptionsPageUIHandler,
18 public ash::PowerStatus::Observer { 18 public ash::PowerStatus::Observer {
(...skipping 26 matching lines...) Expand all
45 // Whether the UI should show the power status. 45 // Whether the UI should show the power status.
46 bool show_power_status_; 46 bool show_power_status_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(PowerHandler); 48 DISALLOW_COPY_AND_ASSIGN(PowerHandler);
49 }; 49 };
50 50
51 } // namespace options 51 } // namespace options
52 } // namespace chromeos 52 } // namespace chromeos
53 53
54 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_POWER_HANDLER_H_ 54 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_POWER_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/options_stylus_handler.cc ('k') | chrome/browser/ui/webui/settings/about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698