| Index: mash/wm/non_client_frame_controller.cc
|
| diff --git a/mash/wm/non_client_frame_controller.cc b/mash/wm/non_client_frame_controller.cc
|
| index f62cb153bb1f2d20f81b21d7b9adc68c19e420f4..81dc82b7fb1f2fb5756d19473babbf45f649742d 100644
|
| --- a/mash/wm/non_client_frame_controller.cc
|
| +++ b/mash/wm/non_client_frame_controller.cc
|
| @@ -256,6 +256,12 @@ bool NonClientFrameController::CanMinimize() const {
|
| mus::mojom::kResizeBehaviorCanMinimize) != 0;
|
| }
|
|
|
| +bool NonClientFrameController::ShouldShowWindowTitle() const {
|
| + // Only draw the title if the client hasn't declared any additional client
|
| + // areas which might conflict with it.
|
| + return window_ && window_->additional_client_areas().empty();
|
| +}
|
| +
|
| views::ClientView* NonClientFrameController::CreateClientView(
|
| views::Widget* widget) {
|
| return new ClientViewMus(widget, GetContentsView(), this);
|
|
|