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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.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
Index: chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc (revision 111086)
+++ chrome/browser/ui/views/frame/browser_non_client_frame_view_aura.cc (working copy)
@@ -438,10 +438,6 @@
// Nothing.
}
-void BrowserNonClientFrameViewAura::EnableClose(bool enable) {
- close_button_->SetEnabled(enable);
-}
-
void BrowserNonClientFrameViewAura::ResetWindowControls() {
maximize_button_->SetState(views::CustomButton::BS_NORMAL);
// The close button isn't affected by this constraint.

Powered by Google App Engine
This is Rietveld 408576698