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

Unified Diff: ash/metrics/task_switch_metrics_recorder.h

Issue 1165003010: Revert r333104: "Added UMA statistics for changing the active window via click or touch events." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/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 177ff0807c260b2cce2b3a90ca1229a5d35a2b1e..b2103be01d7a27a036cec32b1feaf9123f57db25 100644
--- a/ash/metrics/task_switch_metrics_recorder.h
+++ b/ash/metrics/task_switch_metrics_recorder.h
@@ -10,10 +10,6 @@
#include "ash/ash_export.h"
#include "base/containers/scoped_ptr_hash_map.h"
-namespace aura {
-class Window;
-} // namespace aura
-
namespace ash {
class TaskSwitchTimeTracker;
@@ -25,13 +21,9 @@ class ASH_EXPORT TaskSwitchMetricsRecorder {
public:
// Enumeration of the different user interfaces that could be the source of
// a task switch. Note this is not necessarily comprehensive of all sources.
- // TODO(bruthig): Convert enum format from kValue to VALUE.
enum TaskSwitchSource {
// Task switches from selecting items in the app list.
kAppList,
- // Task switches caused by the user activating a task window by clicking or
- // tapping on it.
- kDesktop,
// Task switches caused by selecting a window from overview mode which is
// different from the previously-active window.
kOverviewMode,
« no previous file with comments | « ash/metrics/desktop_task_switch_metric_recorder_unittest.cc ('k') | ash/metrics/task_switch_metrics_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698