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

Unified Diff: ash/mus/bridge/wm_root_window_controller_mus.h

Issue 2620913003: Removes WmRootWindowController subclasses (Closed)
Patch Set: spelling Created 3 years, 11 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/mus/bridge/wm_lookup_mus.cc ('k') | ash/mus/bridge/wm_root_window_controller_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_root_window_controller_mus.h
diff --git a/ash/mus/bridge/wm_root_window_controller_mus.h b/ash/mus/bridge/wm_root_window_controller_mus.h
deleted file mode 100644
index 8d0b64eefcf76f3cb9de80e923a10d794a53eaa6..0000000000000000000000000000000000000000
--- a/ash/mus/bridge/wm_root_window_controller_mus.h
+++ /dev/null
@@ -1,72 +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_ROOT_WINDOW_CONTROLLER_MUS_H_
-#define ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_
-
-#include "ash/common/wm_root_window_controller.h"
-#include "base/macros.h"
-
-namespace aura {
-class Window;
-}
-
-namespace display {
-class Display;
-}
-
-namespace ash {
-namespace mus {
-
-class RootWindowController;
-class WmShellMus;
-class WmWindowMus;
-
-// WmRootWindowController implementations for mus.
-class WmRootWindowControllerMus : public WmRootWindowController {
- public:
- WmRootWindowControllerMus(WmShellMus* shell,
- RootWindowController* root_window_controller);
- ~WmRootWindowControllerMus() override;
-
- static WmRootWindowControllerMus* Get(aura::Window* window) {
- return const_cast<WmRootWindowControllerMus*>(
- Get(const_cast<const aura::Window*>(window)));
- }
- static const WmRootWindowControllerMus* Get(const aura::Window* window);
-
- RootWindowController* root_window_controller() {
- return root_window_controller_;
- }
-
- // Screen conversion functions.
- gfx::Point ConvertPointToScreen(const WmWindowMus* source,
- const gfx::Point& point) const;
-
- const display::Display& GetDisplay() const;
-
- // Exposed as public so WindowManager can call it.
- void MoveWindowsTo(WmWindow* dest);
-
- // WmRootWindowController:
- bool HasShelf() override;
- WmShelf* GetShelf() override;
- WmWindow* GetWindow() override;
-
- private:
- friend class RootWindowController;
-
- // WmRootWindowController:
- bool ShouldDestroyWindowInCloseChildWindows(WmWindow* window) override;
-
- WmShellMus* shell_;
- RootWindowController* root_window_controller_;
-
- DISALLOW_COPY_AND_ASSIGN(WmRootWindowControllerMus);
-};
-
-} // namespace mus
-} // namespace ash
-
-#endif // ASH_MUS_BRIDGE_WM_ROOT_WINDOW_CONTROLLER_MUS_H_
« no previous file with comments | « ash/mus/bridge/wm_lookup_mus.cc ('k') | ash/mus/bridge/wm_root_window_controller_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698