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

Unified Diff: ui/views/window/non_client_view.cc

Issue 8869005: Revert EnableClose() removal and related crash fixes. I don't understand the crashes here, and th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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: ui/views/window/non_client_view.cc
===================================================================
--- ui/views/window/non_client_view.cc (revision 113407)
+++ ui/views/window/non_client_view.cc (working copy)
@@ -87,6 +87,10 @@
frame_view_->GetWindowMask(size, window_mask);
}
+void NonClientView::EnableClose(bool enable) {
+ frame_view_->EnableClose(enable);
+}
+
void NonClientView::ResetWindowControls() {
frame_view_->ResetWindowControls();
}
« content/browser/gamepad/data_fetcher_win.cc ('K') | « ui/views/window/non_client_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698