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

Side by Side Diff: ash/system/chromeos/brightness/tray_brightness.h

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 ASH_SYSTEM_CHROMEOS_BRIGHTNESS_TRAY_BRIGHTNESS_H_ 5 #ifndef ASH_SYSTEM_CHROMEOS_BRIGHTNESS_TRAY_BRIGHTNESS_H_
6 #define ASH_SYSTEM_CHROMEOS_BRIGHTNESS_TRAY_BRIGHTNESS_H_ 6 #define ASH_SYSTEM_CHROMEOS_BRIGHTNESS_TRAY_BRIGHTNESS_H_
7 7
8 #include "ash/system/tray/system_tray_item.h" 8 #include "ash/system/tray/system_tray_item.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "chromeos/dbus/power_manager_client.h" 11 #include "chromeos/dbus/power_manager_client.h"
12 12
13 namespace ash { 13 namespace ash {
14 namespace internal {
15
16 namespace tray { 14 namespace tray {
17 class BrightnessView; 15 class BrightnessView;
18 } 16 }
19 17
20 class ASH_EXPORT TrayBrightness 18 class ASH_EXPORT TrayBrightness
21 : public SystemTrayItem, 19 : public SystemTrayItem,
22 public chromeos::PowerManagerClient::Observer { 20 public chromeos::PowerManagerClient::Observer {
23 public: 21 public:
24 explicit TrayBrightness(SystemTray* system_tray); 22 explicit TrayBrightness(SystemTray* system_tray);
25 virtual ~TrayBrightness(); 23 virtual ~TrayBrightness();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Brightness level in the range [0.0, 100.0] that we've heard about most 57 // Brightness level in the range [0.0, 100.0] that we've heard about most
60 // recently. 58 // recently.
61 double current_percent_; 59 double current_percent_;
62 60
63 // Has |current_percent_| been initialized? 61 // Has |current_percent_| been initialized?
64 bool got_current_percent_; 62 bool got_current_percent_;
65 63
66 DISALLOW_COPY_AND_ASSIGN(TrayBrightness); 64 DISALLOW_COPY_AND_ASSIGN(TrayBrightness);
67 }; 65 };
68 66
69 } // namespace internal
70 } // namespace ash 67 } // namespace ash
71 68
72 #endif // ASH_SYSTEM_CHROMEOS_BRIGHTNESS_TRAY_BRIGHTNESS_H_ 69 #endif // ASH_SYSTEM_CHROMEOS_BRIGHTNESS_TRAY_BRIGHTNESS_H_
OLDNEW
« no previous file with comments | « ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc ('k') | ash/system/chromeos/brightness/tray_brightness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698