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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 550373002: chromeos: Shorten some strings in the keyboard overlay. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update metrics owners Created 6 years, 3 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 | « no previous file | ash/accelerators/accelerator_table.h » ('j') | chrome/app/chromeos_strings.grdp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller.cc
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index 289c4d56df089f3f6a4fee06b14fa9333e01bb47..83a2a9728ee76bd27c16d5d03a585668dc79ac1f 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -147,9 +147,9 @@ bool ToggleOverview(const ui::Accelerator& accelerator) {
return true;
}
-bool HandleFocusLauncher() {
+bool HandleFocusShelf() {
Shell* shell = Shell::GetInstance();
- base::RecordAction(base::UserMetricsAction("Accel_Focus_Launcher"));
+ base::RecordAction(base::UserMetricsAction("Accel_Focus_Shelf"));
return shell->focus_cycler()->FocusWidget(
Shelf::ForPrimaryDisplay()->shelf_widget());
}
@@ -991,8 +991,8 @@ bool AcceleratorController::PerformAction(int action,
shell->system_tray_delegate()->GetVolumeControlDelegate();
return volume_delegate && volume_delegate->HandleVolumeUp(accelerator);
}
- case FOCUS_LAUNCHER:
- return HandleFocusLauncher();
+ case FOCUS_SHELF:
+ return HandleFocusShelf();
case FOCUS_NEXT_PANE:
return HandleRotatePaneFocus(Shell::FORWARD);
case FOCUS_PREVIOUS_PANE:
« no previous file with comments | « no previous file | ash/accelerators/accelerator_table.h » ('j') | chrome/app/chromeos_strings.grdp » ('J')

Powered by Google App Engine
This is Rietveld 408576698