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

Side by Side Diff: ash/system/brightness/brightness_controller_chromeos.cc

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 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 #include "ash/common/system/chromeos/brightness/brightness_controller_chromeos.h " 5 #include "ash/system/brightness/brightness_controller_chromeos.h"
6 6
7 #include "base/metrics/user_metrics.h" 7 #include "base/metrics/user_metrics.h"
8 #include "chromeos/dbus/dbus_thread_manager.h" 8 #include "chromeos/dbus/dbus_thread_manager.h"
9 #include "chromeos/dbus/power_manager_client.h" 9 #include "chromeos/dbus/power_manager_client.h"
10 #include "ui/base/accelerators/accelerator.h" 10 #include "ui/base/accelerators/accelerator.h"
11 11
12 namespace ash { 12 namespace ash {
13 namespace system { 13 namespace system {
14 14
15 void BrightnessControllerChromeos::HandleBrightnessDown( 15 void BrightnessControllerChromeos::HandleBrightnessDown(
(...skipping 25 matching lines...) Expand all
41 41
42 void BrightnessControllerChromeos::GetBrightnessPercent( 42 void BrightnessControllerChromeos::GetBrightnessPercent(
43 const base::Callback<void(double)>& callback) { 43 const base::Callback<void(double)>& callback) {
44 chromeos::DBusThreadManager::Get() 44 chromeos::DBusThreadManager::Get()
45 ->GetPowerManagerClient() 45 ->GetPowerManagerClient()
46 ->GetScreenBrightnessPercent(callback); 46 ->GetScreenBrightnessPercent(callback);
47 } 47 }
48 48
49 } // namespace system 49 } // namespace system
50 } // namespace ash 50 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/brightness/brightness_controller_chromeos.h ('k') | ash/system/brightness/tray_brightness.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698