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

Unified Diff: ash/mus/window_manager.h

Issue 2642003002: Removes ash::mus::RootWindowController (Closed)
Patch Set: feedback 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
Index: ash/mus/window_manager.h
diff --git a/ash/mus/window_manager.h b/ash/mus/window_manager.h
index ec6dfc8996fa23265012d7720e47ed2dd56d70b2..6936f926afe6e82032affe74f13376bd6a98791b 100644
--- a/ash/mus/window_manager.h
+++ b/ash/mus/window_manager.h
@@ -41,13 +41,13 @@ class WMState;
namespace ash {
+class RootWindowController;
class ScreenMus;
class SystemTrayDelegate;
namespace mus {
class AcceleratorHandler;
-class RootWindowController;
class ShadowController;
class WmLookupMus;
class WmTestHelper;
@@ -84,11 +84,6 @@ class WindowManager : public aura::WindowManagerDelegate,
return property_converter_.get();
}
- // Creates a new top level window.
- aura::Window* NewTopLevelWindow(
- ui::mojom::WindowType window_type,
- std::map<std::string, std::vector<uint8_t>>* properties);
-
std::set<RootWindowController*> GetRootWindowControllers();
// Returns the next accelerator namespace id by value in |id|. Returns true
@@ -116,7 +111,7 @@ class WindowManager : public aura::WindowManagerDelegate,
void CreateShell(
std::unique_ptr<aura::WindowTreeHostMus> primary_window_tree_host);
- void CreateRootWindowController(
+ void CreateAndRegisterRootWindowController(
std::unique_ptr<aura::WindowTreeHostMus> window_tree_host,
const display::Display& display,
ash::RootWindowController::RootWindowType root_window_type);
@@ -130,11 +125,6 @@ class WindowManager : public aura::WindowManagerDelegate,
RootWindowController* GetPrimaryRootWindowController();
- // Returns the RootWindowController where new top levels are created.
- // |properties| is the properties supplied during window creation.
- RootWindowController* GetRootWindowControllerForNewTopLevelWindow(
- std::map<std::string, std::vector<uint8_t>>* properties);
-
// WindowTreeClientDelegate:
void OnEmbed(
std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override;

Powered by Google App Engine
This is Rietveld 408576698