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

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

Issue 1923983003: Makes WorkspaceLayoutManager use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix always-on-top and remove mus changes 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/switchable_windows.h
diff --git a/ash/switchable_windows.h b/ash/wm/common/switchable_windows.h
similarity index 71%
rename from ash/switchable_windows.h
rename to ash/wm/common/switchable_windows.h
index b7c4c21b088230a4b9aeaa581b30e7fbb3d50a87..f3c687ccfe78cbcf57cc9e5eca54b2d42b312ee7 100644
--- a/ash/switchable_windows.h
+++ b/ash/wm/common/switchable_windows.h
@@ -2,19 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_SWITCHABLE_WINDOWS_H_
-#define ASH_SWITCHABLE_WINDOWS_H_
+#ifndef ASH_WM_COMMON_SWITCHABLE_WINDOWS_H_
+#define ASH_WM_COMMON_SWITCHABLE_WINDOWS_H_
#include <stddef.h>
#include "ash/ash_export.h"
#include "base/macros.h"
-namespace aura {
- class Window;
-}
-
namespace ash {
+namespace wm {
+
+class WmWindow;
// List of containers which contain windows that can be switched via Alt+Tab to.
ASH_EXPORT extern const int kSwitchableWindowContainerIds[];
@@ -23,8 +22,9 @@ ASH_EXPORT extern const int kSwitchableWindowContainerIds[];
ASH_EXPORT extern const size_t kSwitchableWindowContainerIdsLength;
// Returns true if |window| is a container for windows which can be switched to.
-ASH_EXPORT bool IsSwitchableContainer(const aura::Window* window);
+ASH_EXPORT bool IsSwitchableContainer(const WmWindow* window);
+} // namespace wm
} // namespace ash
-#endif // ASH_SWITCHABLE_WINDOWS_H_
+#endif // ASH_WM_COMMON_SWITCHABLE_WINDOWS_H_

Powered by Google App Engine
This is Rietveld 408576698