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 fb68d95a3adff4ac73157e0cb5ab37b2f3a962b2..8e089866f952ae3b4d898438d02bdac276fd4562 100644 |
--- a/chrome/browser/ui/cocoa/fast_resize_view.h |
+++ b/chrome/browser/ui/cocoa/fast_resize_view.h |
@@ -7,6 +7,8 @@ |
#import <Cocoa/Cocoa.h> |
+@class CAShapeLayer; |
+ |
// A Cocoa view that supports an alternate resizing mode, normally used when |
// animations are in progress. In normal resizing mode, subviews are sized to |
// completely fill this view's bounds. In fast resizing mode, the subviews' |
@@ -16,6 +18,12 @@ |
@interface FastResizeView : NSView { |
@private |
BOOL fastResizeMode_; |
+ |
+ // Whether the bottom corners should be rounded. |
+ BOOL roundedBottomCorners_; |
+ |
+ // Weak reference to the mask of the hosted layer. |
+ CAShapeLayer* layerMask_; |
} |
// Turns fast resizing mode on or off, which determines how this view resizes |
@@ -24,6 +32,9 @@ |
// to trigger a resize. |
- (void)setFastResizeMode:(BOOL)fastResizeMode; |
+// Changes whether the bottom two corners are rounded. |
+- (void)setRoundedBottomCorners:(BOOL)roundedBottomCorners; |
+ |
@end |
#endif // CHROME_BROWSER_UI_COCOA_FAST_RESIZE_VIEW_H_ |