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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc

Issue 553333007: [Ash] Always show minimize button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove enum MinimizeAllowed. Created 6 years, 3 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: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
index 18cbad891a447071e095711e6d58e3c8898d9f9e..b541c17956818c79b5dd44f11bd7b275a502c23e 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
@@ -111,8 +111,7 @@ BrowserNonClientFrameViewAsh::~BrowserNonClientFrameViewAsh() {
}
void BrowserNonClientFrameViewAsh::Init() {
- caption_button_container_ = new ash::FrameCaptionButtonContainerView(frame(),
- ash::FrameCaptionButtonContainerView::MINIMIZE_ALLOWED);
+ caption_button_container_ = new ash::FrameCaptionButtonContainerView(frame());
caption_button_container_->UpdateSizeButtonVisibility();
AddChildView(caption_button_container_);

Powered by Google App Engine
This is Rietveld 408576698