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

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

Issue 10986003: Fixed problem with disappearing window controls for applications when maximizing / minimizing / max… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 8 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_frame_aura.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame_aura.cc b/chrome/browser/ui/views/frame/browser_frame_aura.cc
index 1d3a7d8ced00c23c5c94a384c9168bf63b2c46e9..c24ebdf116fbf630a414bea4cf22a0eda8639d2e 100644
--- a/chrome/browser/ui/views/frame/browser_frame_aura.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_aura.cc
@@ -62,7 +62,8 @@ class BrowserFrameAura::WindowPropertyWatcher : public aura::WindowObserver {
// window's bounds are updated. The window maximize/restore animations
// clone the window's layers and rely on the subsequent layout to set
// the layer sizes.
- browser_frame_->non_client_view()->UpdateFrame(false);
+ browser_frame_->non_client_view()->UpdateFrame(
+ old_state == ui::SHOW_STATE_MINIMIZED);
sky 2012/09/25 18:39:49 Update comment.
Mr4D (OOO till 08-26) 2012/09/25 20:30:34 Done.
}
}

Powered by Google App Engine
This is Rietveld 408576698