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

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

Issue 2320273002: Refactors DimWindow and moves to ash/common (Closed)
Patch Set: feedback and member initializer ordering Created 4 years, 3 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/mus/bridge/wm_window_mus.h » ('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 78959a48aad559e9114e08841a787df655b60d2d..66f8a3f9a64c4227f496ed9711d1e8671211745e 100644
--- a/ash/mus/bridge/wm_shell_mus.cc
+++ b/ash/mus/bridge/wm_shell_mus.cc
@@ -203,8 +203,13 @@ WmRootWindowControllerMus* WmShellMus::GetRootWindowControllerWithDisplayId(
return nullptr;
}
-WmWindow* WmShellMus::NewContainerWindow() {
- return WmWindowMus::Get(window_tree_client()->NewWindow());
+WmWindow* WmShellMus::NewWindow(ui::wm::WindowType window_type,
+ ui::LayerType layer_type) {
+ WmWindowMus* window = WmWindowMus::Get(window_tree_client()->NewWindow());
+ window->set_wm_window_type(window_type);
+ // TODO(sky): support layer_type.
+ NOTIMPLEMENTED();
+ return window;
}
WmWindow* WmShellMus::GetFocusedWindow() {
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/mus/bridge/wm_window_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698