Chromium Code Reviews| 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 |