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

Unified Diff: ash/mus/property_util.cc

Issue 2277563002: Wires up immersive mode for chrome and mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix crash Created 4 years, 4 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/mus/property_util.cc
diff --git a/ash/mus/property_util.cc b/ash/mus/property_util.cc
index 39efee2553a351144f914e7c23eb51530b79f223..7a7e9def50a602ec7cfa0c7e9a248aeb72087392 100644
--- a/ash/mus/property_util.cc
+++ b/ash/mus/property_util.cc
@@ -246,5 +246,10 @@ bool ShouldRemoveStandardFrame(ui::Window* window) {
ui::mojom::WindowManager::kRemoveStandardFrame_Property);
}
+bool ShouldRenderParentTitleArea(ui::Window* window) {
+ return window->HasSharedProperty(
James Cook 2016/08/24 17:00:32 Also check the value of the property, like above.
sky 2016/08/24 19:23:29 Done.
+ ui::mojom::WindowManager::kRendererParentTitleArea_Property);
+}
+
} // namespace mus
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698