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

Unified Diff: ash/system/chromeos/brightness/brightness_controller_chromeos.cc

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/chromeos/bluetooth/tray_bluetooth.cc ('k') | ash/system/chromeos/brightness/tray_brightness.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/brightness/brightness_controller_chromeos.cc
diff --git a/ash/system/chromeos/brightness/brightness_controller_chromeos.cc b/ash/system/chromeos/brightness/brightness_controller_chromeos.cc
index d8accce73ac0f04e7f552855b79e55b6ae4294a6..c91724986cca2b073d0697801fcb2f7946895862 100644
--- a/ash/system/chromeos/brightness/brightness_controller_chromeos.cc
+++ b/ash/system/chromeos/brightness/brightness_controller_chromeos.cc
@@ -15,11 +15,11 @@ namespace system {
void BrightnessControllerChromeos::HandleBrightnessDown(
const ui::Accelerator& accelerator) {
if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_DOWN)
- base::RecordAction(
- base::UserMetricsAction("Accel_BrightnessDown_F6"));
+ base::RecordAction(base::UserMetricsAction("Accel_BrightnessDown_F6"));
- chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->
- DecreaseScreenBrightness(true);
+ chromeos::DBusThreadManager::Get()
+ ->GetPowerManagerClient()
+ ->DecreaseScreenBrightness(true);
}
void BrightnessControllerChromeos::HandleBrightnessUp(
@@ -27,20 +27,23 @@ void BrightnessControllerChromeos::HandleBrightnessUp(
if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_UP)
base::RecordAction(base::UserMetricsAction("Accel_BrightnessUp_F7"));
- chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->
- IncreaseScreenBrightness();
+ chromeos::DBusThreadManager::Get()
+ ->GetPowerManagerClient()
+ ->IncreaseScreenBrightness();
}
void BrightnessControllerChromeos::SetBrightnessPercent(double percent,
bool gradual) {
- chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->
- SetScreenBrightnessPercent(percent, gradual);
+ chromeos::DBusThreadManager::Get()
+ ->GetPowerManagerClient()
+ ->SetScreenBrightnessPercent(percent, gradual);
}
void BrightnessControllerChromeos::GetBrightnessPercent(
const base::Callback<void(double)>& callback) {
- chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->
- GetScreenBrightnessPercent(callback);
+ chromeos::DBusThreadManager::Get()
+ ->GetPowerManagerClient()
+ ->GetScreenBrightnessPercent(callback);
}
} // namespace system
« no previous file with comments | « ash/system/chromeos/bluetooth/tray_bluetooth.cc ('k') | ash/system/chromeos/brightness/tray_brightness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698