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

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

Issue 2072343002: Changes how window manager obtains WindowTree from mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include Created 4 years, 6 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_window_mus.h ('k') | ash/mus/disconnected_app_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_window_mus.cc
diff --git a/ash/mus/bridge/wm_window_mus.cc b/ash/mus/bridge/wm_window_mus.cc
index 09b0c06e3218993abc411a863ece7f91f161e699..c822398b79090c3c28d5d8a49f0d539e9a9decdf 100644
--- a/ash/mus/bridge/wm_window_mus.cc
+++ b/ash/mus/bridge/wm_window_mus.cc
@@ -155,6 +155,10 @@ bool WmWindowMus::ShouldUseExtendedHitRegion() const {
return parent && parent->children_use_extended_hit_region_;
}
+bool WmWindowMus::IsContainer() const {
+ return GetShellWindowId() != kShellWindowId_Invalid;
+}
+
const WmWindow* WmWindowMus::GetRootWindow() const {
return Get(window_->GetRoot());
}
« no previous file with comments | « ash/mus/bridge/wm_window_mus.h ('k') | ash/mus/disconnected_app_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698