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

Side by Side Diff: ash/metrics/task_switch_source.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « ash/metrics/task_switch_metrics_recorder.h ('k') | ash/metrics/user_metrics_action.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_COMMON_METRICS_TASK_SWITCH_SOURCE_H_ 5 #ifndef ASH_METRICS_TASK_SWITCH_SOURCE_H_
6 #define ASH_COMMON_METRICS_TASK_SWITCH_SOURCE_H_ 6 #define ASH_METRICS_TASK_SWITCH_SOURCE_H_
7 7
8 namespace ash { 8 namespace ash {
9 9
10 // Enumeration of the different user interfaces that could be the source of 10 // Enumeration of the different user interfaces that could be the source of
11 // a task switch. Note this is not necessarily comprehensive of all sources. 11 // a task switch. Note this is not necessarily comprehensive of all sources.
12 enum class TaskSwitchSource { 12 enum class TaskSwitchSource {
13 // Task switches caused by any two sources in this enum. NOTE: This value 13 // Task switches caused by any two sources in this enum. NOTE: This value
14 // should NOT be used outside of TaskSwitchMetricsRecorder. 14 // should NOT be used outside of TaskSwitchMetricsRecorder.
15 ANY, 15 ANY,
16 // Task switches caused by the user activating a task window by clicking or 16 // Task switches caused by the user activating a task window by clicking or
17 // tapping on it. 17 // tapping on it.
18 DESKTOP, 18 DESKTOP,
19 // Task switches caused by selecting a window from overview mode which is 19 // Task switches caused by selecting a window from overview mode which is
20 // different from the previously-active window. 20 // different from the previously-active window.
21 OVERVIEW_MODE, 21 OVERVIEW_MODE,
22 // All task switches caused by shelf buttons, not including sub-menus. 22 // All task switches caused by shelf buttons, not including sub-menus.
23 SHELF, 23 SHELF,
24 // Task switches caused by the WindowCycleController (ie Alt+Tab). 24 // Task switches caused by the WindowCycleController (ie Alt+Tab).
25 WINDOW_CYCLE_CONTROLLER 25 WINDOW_CYCLE_CONTROLLER
26 }; 26 };
27 27
28 } // namespace ash 28 } // namespace ash
29 29
30 #endif // ASH_COMMON_METRICS_TASK_SWITCH_SOURCE_H_ 30 #endif // ASH_METRICS_TASK_SWITCH_SOURCE_H_
OLDNEW
« no previous file with comments | « ash/metrics/task_switch_metrics_recorder.h ('k') | ash/metrics/user_metrics_action.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698