Index: ash/mus/bridge/wm_window_mus.h |
diff --git a/ash/mus/bridge/wm_window_mus.h b/ash/mus/bridge/wm_window_mus.h |
deleted file mode 100644 |
index 548309478f0d2f1be8e57acc36341cd66290fb95..0000000000000000000000000000000000000000 |
--- a/ash/mus/bridge/wm_window_mus.h |
+++ /dev/null |
@@ -1,66 +0,0 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
-#define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |
- |
-#include <memory> |
- |
-#include "ash/aura/wm_window_aura.h" |
-#include "base/macros.h" |
- |
-namespace aura { |
-class Window; |
-} |
- |
-namespace views { |
-class Widget; |
-} |
- |
-namespace ash { |
-namespace mus { |
- |
-// WmWindow implementation for mus. |
-// |
-// WmWindowMus is tied to the life of the underlying aura::Window (it is stored |
-// as an owned property). |
-class WmWindowMus : public WmWindowAura { |
- public: |
- explicit WmWindowMus(aura::Window* window); |
- // NOTE: this class is owned by the corresponding window. You shouldn't delete |
- // TODO(sky): friend deleter and make private. |
- ~WmWindowMus() override; |
- |
- // Returns a WmWindow for an aura::Window, creating if necessary. |
- static WmWindowMus* Get(aura::Window* window) { |
- return const_cast<WmWindowMus*>( |
- Get(const_cast<const aura::Window*>(window))); |
- } |
- static const WmWindowMus* Get(const aura::Window* window); |
- |
- static WmWindowMus* Get(views::Widget* widget); |
- |
- static WmWindowMus* AsWmWindowMus(WmWindow* window) { |
- return static_cast<WmWindowMus*>(window); |
- } |
- static const WmWindowMus* AsWmWindowMus(const WmWindow* window) { |
- return static_cast<const WmWindowMus*>(window); |
- } |
- |
- // Returns true if this window is considered a shell window container. |
- bool IsContainer() const; |
- |
- // WmWindow: |
- WmShell* GetShell() const override; |
- void CloseWidget() override; |
- void AddLimitedPreTargetHandler(ui::EventHandler* handler) override; |
- |
- private: |
- DISALLOW_COPY_AND_ASSIGN(WmWindowMus); |
-}; |
- |
-} // namespace mus |
-} // namespace ash |
- |
-#endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ |