| Index: ash/mus/property_util.cc
|
| diff --git a/ash/mus/property_util.cc b/ash/mus/property_util.cc
|
| index 39efee2553a351144f914e7c23eb51530b79f223..13c3359408c9e76c8b77a9f9a771dd8fa1a3ceb2 100644
|
| --- a/ash/mus/property_util.cc
|
| +++ b/ash/mus/property_util.cc
|
| @@ -246,5 +246,12 @@ bool ShouldRemoveStandardFrame(ui::Window* window) {
|
| ui::mojom::WindowManager::kRemoveStandardFrame_Property);
|
| }
|
|
|
| +bool ShouldRenderParentTitleArea(ui::Window* window) {
|
| + return window->HasSharedProperty(
|
| + ui::mojom::WindowManager::kRendererParentTitleArea_Property) &&
|
| + window->GetSharedProperty<bool>(
|
| + ui::mojom::WindowManager::kRendererParentTitleArea_Property);
|
| +}
|
| +
|
| } // namespace mus
|
| } // namespace ash
|
|
|