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

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: 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
Index: ash/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index 4927f7304c52650b24e0e7a8c9b38a022ceb19cf..90577bfd1a8eb151a629f7acdcab936958853b66 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -41,6 +41,8 @@ class WmActivationObserver;
class WmDisplayObserver;
class WmWindow;
+enum class TaskSwitchSource;
James Cook 2016/07/18 22:27:10 I love enum class.
+
namespace wm {
class MaximizeModeEventHandler;
class WindowState;
@@ -163,6 +165,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

Powered by Google App Engine
This is Rietveld 408576698