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

Unified Diff: ash/aura/wm_shell_aura.cc

Issue 2733303004: Removes WmShell::NewWindow() (Closed)
Patch Set: cleanup 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
Index: ash/aura/wm_shell_aura.cc
diff --git a/ash/aura/wm_shell_aura.cc b/ash/aura/wm_shell_aura.cc
index b58a62841f182787275b7dbe8bcb8ba1b0a52a63..1e0b9cd71a785c2e8c76f1572e54ffff083f15b7 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())

Powered by Google App Engine
This is Rietveld 408576698