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_; |