| Index: ui/views/window/custom_frame_view.cc
|
| ===================================================================
|
| --- ui/views/window/custom_frame_view.cc (revision 113407)
|
| +++ ui/views/window/custom_frame_view.cc (working copy)
|
| @@ -192,6 +192,10 @@
|
| views::GetDefaultWindowMask(size, window_mask);
|
| }
|
|
|
| +void CustomFrameView::EnableClose(bool enable) {
|
| + close_button_->SetEnabled(enable);
|
| +}
|
| +
|
| void CustomFrameView::ResetWindowControls() {
|
| restore_button_->SetState(CustomButton::BS_NORMAL);
|
| minimize_button_->SetState(CustomButton::BS_NORMAL);
|
|
|