Index: chrome/browser/ui/ash/brightness_controller_chromeos.cc |
diff --git a/chrome/browser/ui/ash/brightness_controller_chromeos.cc b/chrome/browser/ui/ash/brightness_controller_chromeos.cc |
index 36e97626b66b7be586303dc0140b46288895ab21..4c984d702db91751f5acdd520e7d83f2be6676e7 100644 |
--- a/chrome/browser/ui/ash/brightness_controller_chromeos.cc |
+++ b/chrome/browser/ui/ash/brightness_controller_chromeos.cc |
@@ -11,7 +11,7 @@ |
bool BrightnessController::HandleBrightnessDown( |
const ui::Accelerator& accelerator) { |
- if (accelerator.key_code() == ui::VKEY_F6) |
+ if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_DOWN) |
content::RecordAction( |
content::UserMetricsAction("Accel_BrightnessDown_F6")); |
@@ -22,7 +22,7 @@ bool BrightnessController::HandleBrightnessDown( |
bool BrightnessController::HandleBrightnessUp( |
const ui::Accelerator& accelerator) { |
- if (accelerator.key_code() == ui::VKEY_F7) |
+ if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_UP) |
content::RecordAction(content::UserMetricsAction("Accel_BrightnessUp_F7")); |
chromeos::DBusThreadManager::Get()->GetPowerManagerClient()-> |