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

Unified Diff: ash/common/wm_shell.h

Issue 2160833002: Adds WmShell::RecordTaskSwitchMetric() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 5 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 | « ash/common/metrics/task_switch_source.h ('k') | ash/metrics/task_switch_metrics_recorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index 984f6ac4912ea759c3ef51efe7596a93200ae424..2947fbfea2ae82e95db6f570ea3a6c3f72f42f2c 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -42,6 +42,8 @@ class WmActivationObserver;
class WmDisplayObserver;
class WmWindow;
+enum class TaskSwitchSource;
+
namespace wm {
class MaximizeModeEventHandler;
class WindowState;
@@ -164,6 +166,7 @@ class ASH_EXPORT WmShell {
virtual std::vector<WmWindow*> GetAllRootWindows() = 0;
virtual void RecordUserMetricsAction(UserMetricsAction action) = 0;
+ virtual void RecordTaskSwitchMetric(TaskSwitchSource source) = 0;
// Returns a WindowResizer to handle dragging. |next_window_resizer| is
// the next WindowResizer in the WindowResizer chain. This may return
« no previous file with comments | « ash/common/metrics/task_switch_source.h ('k') | ash/metrics/task_switch_metrics_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698