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

Unified Diff: ash/mus/bridge/wm_shell_mus.cc

Issue 2733303004: Removes WmShell::NewWindow() (Closed)
Patch Set: merge and feedback Created 3 years, 9 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_shell_mus.h ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_shell_mus.cc
diff --git a/ash/mus/bridge/wm_shell_mus.cc b/ash/mus/bridge/wm_shell_mus.cc
index 6e233915143310b9a1d5d3eddd35dcbac8b3710e..f23863e4080cffd6e8e0aeff0f78a49b85e97a99 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -171,11 +171,6 @@ aura::WindowTreeClient* WmShellMus::window_tree_client() {
return window_manager_->window_tree_client();
}
-void WmShellMus::Initialize(
- const scoped_refptr<base::SequencedWorkerPool>& pool) {
- WmShell::Initialize(pool);
-}
-
void WmShellMus::Shutdown() {
WmShell::Shutdown();
@@ -186,14 +181,6 @@ bool WmShellMus::IsRunningInMash() const {
return true;
}
-WmWindow* WmShellMus::NewWindow(ui::wm::WindowType window_type,
- ui::LayerType layer_type) {
- aura::Window* window = new aura::Window(nullptr);
- window->SetType(window_type);
- window->Init(layer_type);
- return WmWindow::Get(window);
-}
-
WmWindow* WmShellMus::GetFocusedWindow() {
// TODO: remove as both WmShells use same implementation.
return WmWindow::Get(
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698