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

Unified Diff: views/controls/native/native_view_host.cc

Issue 8573029: Fixes regression where showing bookmark bar (or download shelf) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks 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
« no previous file with comments | « views/controls/native/native_view_host.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/native/native_view_host.cc
diff --git a/views/controls/native/native_view_host.cc b/views/controls/native/native_view_host.cc
index f507f7c8be101b2f136479afeeec76a6762a6821..0981b9d1a38a44ccd2c12d7162fb59d5410a0ecc 100644
--- a/views/controls/native/native_view_host.cc
+++ b/views/controls/native/native_view_host.cc
@@ -31,6 +31,7 @@ NativeViewHost::NativeViewHost()
: native_view_(NULL),
views_view_(NULL),
fast_resize_(false),
+ fast_resize_at_last_layout_(false),
focus_view_(NULL) {
}
@@ -120,6 +121,7 @@ void NativeViewHost::Layout() {
} else {
native_wrapper_->HideWidget();
}
+ fast_resize_at_last_layout_ = visible && fast_resize_;
}
void NativeViewHost::OnPaint(gfx::Canvas* canvas) {
« no previous file with comments | « views/controls/native/native_view_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698