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

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

Issue 2063813002: mash: Move SystemTrayImage and TrayImageItem to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wmnotifier
Patch Set: rebase Created 4 years, 6 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 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/common/system/tray/system_tray_item.h"
9 #include "base/compiler_specific.h"
10 #include "base/macros.h" 9 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
12 #include "chromeos/dbus/power_manager_client.h" 11 #include "chromeos/dbus/power_manager_client.h"
13 12
14 namespace ash { 13 namespace ash {
15 namespace tray { 14 namespace tray {
16 class BrightnessView; 15 class BrightnessView;
17 } 16 }
18 17
19 class ASH_EXPORT TrayBrightness 18 class ASH_EXPORT TrayBrightness
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 bool got_current_percent_; 60 bool got_current_percent_;
62 61
63 base::WeakPtrFactory<TrayBrightness> weak_ptr_factory_; 62 base::WeakPtrFactory<TrayBrightness> weak_ptr_factory_;
64 63
65 DISALLOW_COPY_AND_ASSIGN(TrayBrightness); 64 DISALLOW_COPY_AND_ASSIGN(TrayBrightness);
66 }; 65 };
67 66
68 } // namespace ash 67 } // namespace ash
69 68
70 #endif // ASH_SYSTEM_CHROMEOS_BRIGHTNESS_TRAY_BRIGHTNESS_H_ 69 #endif // ASH_SYSTEM_CHROMEOS_BRIGHTNESS_TRAY_BRIGHTNESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698