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

Unified Diff: ash/metrics/task_switch_metrics_recorder.h

Issue 1126333005: Added metrics to track the time between task switches done via Alt+Tab and Alt+Shift+Tab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed kAcceleratorWindowCycle_histogram to kAcceleratorWindowCycleHistogramName. Created 5 years, 7 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/metrics/task_switch_metrics_recorder.cc » ('j') | ash/wm/window_cycle_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/metrics/task_switch_metrics_recorder.h
diff --git a/ash/metrics/task_switch_metrics_recorder.h b/ash/metrics/task_switch_metrics_recorder.h
index 87a776007fb7169a12c9361f0c6e0d848665139e..c0827cc62a552e71d2e7ec8c9a4ba537e2c24abf 100644
--- a/ash/metrics/task_switch_metrics_recorder.h
+++ b/ash/metrics/task_switch_metrics_recorder.h
@@ -23,7 +23,9 @@ class ASH_EXPORT TaskSwitchMetricsRecorder {
// a task switch. Note this is not necessarily comprehensive of all sources.
enum TaskSwitchSource {
// All task switches caused by shelf buttons, not including sub-menus.
- kShelf
+ kShelf,
+ // Task switches caused by the WindowCycleController (ie Alt+Tab).
+ kWindowCycleController
};
TaskSwitchMetricsRecorder();
« no previous file with comments | « no previous file | ash/metrics/task_switch_metrics_recorder.cc » ('j') | ash/wm/window_cycle_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698