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

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

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
Index: views/controls/native/native_view_host.h
diff --git a/views/controls/native/native_view_host.h b/views/controls/native/native_view_host.h
index 180f6378417be8e9062bc791f95a6ff9038b07a4..94315be824d26d65dc31558ab2bef0293a7bdb2d 100644
--- a/views/controls/native/native_view_host.h
+++ b/views/controls/native/native_view_host.h
@@ -68,6 +68,11 @@ class VIEWS_EXPORT NativeViewHost : public View {
void set_fast_resize(bool fast_resize) { fast_resize_ = fast_resize; }
bool fast_resize() const { return fast_resize_; }
+ // Value of fast_resize() the last time Layout() was invoked.
+ bool fast_resize_at_last_layout() const {
+ return fast_resize_at_last_layout_;
+ }
+
// Accessor for |native_view_|.
gfx::NativeView native_view() const { return native_view_; }
@@ -115,6 +120,9 @@ class VIEWS_EXPORT NativeViewHost : public View {
// in the setter/accessor above.
bool fast_resize_;
+ // Value of |fast_resize_| during the last call to Layout.
+ bool fast_resize_at_last_layout_;
+
// The view that should be given focus when this NativeViewHost is focused.
View* focus_view_;
« no previous file with comments | « chrome/browser/ui/views/tab_contents/tab_contents_container.cc ('k') | views/controls/native/native_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698