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

Unified Diff: ash/system/keyboard_brightness_controller.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 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 side-by-side diff with in-line comments
Download patch
Index: ash/system/keyboard_brightness_controller.cc
diff --git a/ash/system/keyboard_brightness_controller.cc b/ash/system/keyboard_brightness_controller.cc
index 94a7a8db55e2ec9da82ed77a94aa1171a9520f3c..95af101e56bc7ace172a8a35e40a101436136f4f 100644
--- a/ash/system/keyboard_brightness_controller.cc
+++ b/ash/system/keyboard_brightness_controller.cc
@@ -4,7 +4,7 @@
#include "ash/system/keyboard_brightness_controller.h"
-#include "ash/wm_shell.h"
+#include "ash/shell_port.h"
#include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/power_manager_client.h"
#include "ui/base/accelerators/accelerator.h"
@@ -14,7 +14,7 @@ namespace ash {
void KeyboardBrightnessController::HandleKeyboardBrightnessDown(
const ui::Accelerator& accelerator) {
if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_DOWN) {
- WmShell::Get()->RecordUserMetricsAction(
+ ShellPort::Get()->RecordUserMetricsAction(
UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6);
}
@@ -26,7 +26,7 @@ void KeyboardBrightnessController::HandleKeyboardBrightnessDown(
void KeyboardBrightnessController::HandleKeyboardBrightnessUp(
const ui::Accelerator& accelerator) {
if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_UP) {
- WmShell::Get()->RecordUserMetricsAction(
+ ShellPort::Get()->RecordUserMetricsAction(
UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7);
}

Powered by Google App Engine
This is Rietveld 408576698