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

Unified Diff: ash/common/wm/overview/window_selector.h

Issue 2087153003: Moves common code in ash/wm/overview to ash/common/wm/overview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/overview/window_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/overview/window_selector.h
diff --git a/ash/wm/overview/window_selector.h b/ash/common/wm/overview/window_selector.h
similarity index 96%
rename from ash/wm/overview/window_selector.h
rename to ash/common/wm/overview/window_selector.h
index 1412b05edb449d3babe8fb12b7fb0e30e7ade650..b5b69e04fbfc5f04b758c3063cf994a31b669e77 100644
--- a/ash/wm/overview/window_selector.h
+++ b/ash/common/wm/overview/window_selector.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_
-#define ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_
+#ifndef ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_
+#define ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_
#include <stddef.h>
#include <stdint.h>
@@ -42,12 +42,7 @@ class ASH_EXPORT WindowSelector : public display::DisplayObserver,
// Returns true if the window can be selected in overview mode.
static bool IsSelectable(WmWindow* window);
- enum Direction {
- LEFT,
- UP,
- RIGHT,
- DOWN
- };
+ enum Direction { LEFT, UP, RIGHT, DOWN };
using WindowList = std::vector<WmWindow*>;
@@ -186,4 +181,4 @@ class ASH_EXPORT WindowSelector : public display::DisplayObserver,
} // namespace ash
-#endif // ASH_WM_OVERVIEW_WINDOW_SELECTOR_H_
+#endif // ASH_COMMON_WM_OVERVIEW_WINDOW_SELECTOR_H_
« no previous file with comments | « ash/common/wm/overview/window_grid.cc ('k') | ash/common/wm/overview/window_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698