Index: chrome/browser/ui/cocoa/fast_resize_view.h |
diff --git a/chrome/browser/ui/cocoa/fast_resize_view.h b/chrome/browser/ui/cocoa/fast_resize_view.h |
index ba2c89f1229f182c2be13e05d62574e66bbd7de8..cdc9c7fc356ebd2bcc4f60c87af4135ffc99fa92 100644 |
--- a/chrome/browser/ui/cocoa/fast_resize_view.h |
+++ b/chrome/browser/ui/cocoa/fast_resize_view.h |
@@ -16,8 +16,14 @@ |
@interface FastResizeView : NSView { |
@private |
BOOL fastResizeMode_; |
+ |
+ // Offset from the top of the view where the view's content starts. This is |
+ // used to prevent this view from drawing white on non-content area. |
+ CGFloat contentOffset_; |
} |
+@property(assign, nonatomic) CGFloat contentOffset; |
+ |
// Turns fast resizing mode on or off, which determines how this view resizes |
// its subviews. Turning fast resizing mode off has the effect of immediately |
// resizing subviews to fit; callers do not need to explictly call |setFrame:| |