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

Unified Diff: ash/wm/custom_frame_view_ash.cc

Issue 9958039: Changes the maximize button to only minimize for panels. This resulted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Spelling Created 8 years, 9 months 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: ash/wm/custom_frame_view_ash.cc
diff --git a/ash/wm/custom_frame_view_ash.cc b/ash/wm/custom_frame_view_ash.cc
index 01bf0b913cce858c2a56300931e3e861474db2ed..0d48a11b8715305b834653f3b7f62a6ad60b2482 100644
--- a/ash/wm/custom_frame_view_ash.cc
+++ b/ash/wm/custom_frame_view_ash.cc
@@ -67,7 +67,8 @@ void CustomFrameViewAsh::Init(views::Widget* frame) {
AddChildView(window_icon_);
}
- frame_painter_->Init(frame_, window_icon_, maximize_button_, close_button_);
+ frame_painter_->Init(frame_, window_icon_, maximize_button_, close_button_,
+ FramePainter::SIZE_BUTTON_MAXIMIZES);
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « ash/ash_strings.grd ('k') | ash/wm/frame_painter.h » ('j') | ash/wm/frame_painter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698