[mus+ash] Removes WmWindow from ash/wm/focus_rules
With this CL WmWindow is no longer used in ash/wm.
BUG=722553
TEST=None (refactoring)
Review-Url: https://codereview.chromium.org/2908643003
Cr-Commit-Position: refs/heads/master@{#475121}
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 218e00b..3022a58 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -15,6 +15,10 @@
class GURL;
class PrefService;
+namespace aura {
+class Window;
+}
+
namespace gfx {
class Image;
}
@@ -41,7 +45,6 @@
struct ShelfItem;
class SystemTrayDelegate;
class WallpaperDelegate;
-class WmWindow;
// Delegate of the Shell.
class ASH_EXPORT ShellDelegate {
@@ -64,7 +67,7 @@
// Returns true if |window| can be shown for the delegate's concept of current
// user.
- virtual bool CanShowWindowForUser(WmWindow* window) const = 0;
+ virtual bool CanShowWindowForUser(aura::Window* window) const = 0;
// Returns true if the first window shown on first run should be
// unconditionally maximized, overriding the heuristic that normally chooses