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

Unified Diff: ash/wm/common/wm_user_metrics_action.h

Issue 1929023002: Refactors WindowResizers to use ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/wm/common/wm_user_metrics_action.h
diff --git a/ash/wm/common/shelf/wm_shelf_constants.cc b/ash/wm/common/wm_user_metrics_action.h
similarity index 51%
copy from ash/wm/common/shelf/wm_shelf_constants.cc
copy to ash/wm/common/wm_user_metrics_action.h
index fa0425c97a671ec2b850a611e87ee3aa395e90e6..b192ff601b11fa3e9949f59e6300d9c70674ced1 100644
--- a/ash/wm/common/shelf/wm_shelf_constants.cc
+++ b/ash/wm/common/wm_user_metrics_action.h
@@ -2,13 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ash/wm/common/shelf/wm_shelf_constants.h"
+#ifndef ASH_WM_COMMON_WM_USER_METRICS_ACTION_H_
+#define ASH_WM_COMMON_WM_USER_METRICS_ACTION_H_
namespace ash {
namespace wm {
-const int kShelfBackgroundAlpha = 204;
-const int kTimeToSwitchBackgroundMs = 1000;
+enum class WmUserMetricsAction {
+ DRAG_MAXIMIZE_LEFT,
+ DRAG_MAXIMIZE_RIGHT,
+};
} // namespace wm
} // namespace ash
+
+#endif // ASH_WM_COMMON_WM_USER_METRICS_ACTION_H_

Powered by Google App Engine
This is Rietveld 408576698