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

Unified Diff: ash/aura/wm_shell_aura.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/aura/wm_shell_aura.h ('k') | ash/common/shelf/shelf_window_watcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_shell_aura.cc
diff --git a/ash/aura/wm_shell_aura.cc b/ash/aura/wm_shell_aura.cc
index 7400f34f88a86b812798f5fb84ee58f6b3ec110d..fd70e3f6f23009d04dc82a2bba260c1732d88edd 100644
--- a/ash/aura/wm_shell_aura.cc
+++ b/ash/aura/wm_shell_aura.cc
@@ -71,14 +71,6 @@ bool WmShellAura::IsRunningInMash() const {
return false;
}
-WmWindow* WmShellAura::NewWindow(ui::wm::WindowType window_type,
- ui::LayerType layer_type) {
- aura::Window* aura_window = new aura::Window(nullptr);
- aura_window->SetType(window_type);
- aura_window->Init(layer_type);
- return WmWindow::Get(aura_window);
-}
-
WmWindow* WmShellAura::GetFocusedWindow() {
return WmWindow::Get(
aura::client::GetFocusClient(Shell::GetPrimaryRootWindow())
« no previous file with comments | « ash/aura/wm_shell_aura.h ('k') | ash/common/shelf/shelf_window_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698