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

Unified Diff: ui/views/widget/widget.cc

Issue 8618001: Get rid of the EnableClose() infrastructure in Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « ui/views/widget/widget.h ('k') | ui/views/window/custom_frame_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.cc
===================================================================
--- ui/views/widget/widget.cc (revision 111086)
+++ ui/views/widget/widget.cc (working copy)
@@ -489,12 +489,6 @@
native_widget_->CloseNow();
}
-void Widget::EnableClose(bool enable) {
- if (non_client_view_)
- non_client_view_->EnableClose(enable);
- native_widget_->EnableClose(enable);
-}
-
void Widget::Show() {
if (non_client_view_) {
if (saved_show_state_ == ui::SHOW_STATE_MAXIMIZED &&
« no previous file with comments | « ui/views/widget/widget.h ('k') | ui/views/window/custom_frame_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698