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 8e089866f952ae3b4d898438d02bdac276fd4562..67fa01ffafa40f5f3ed67770a783d4ab74707cd2 100644 |
--- a/chrome/browser/ui/cocoa/fast_resize_view.h |
+++ b/chrome/browser/ui/cocoa/fast_resize_view.h |
@@ -9,16 +9,11 @@ |
@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' |
-// size is not changed and the subview is clipped to fit, if necessary. Fast |
-// resize mode is useful when animating a view that normally takes a significant |
-// amount of time to relayout and redraw when its size is changed. |
+// A Cocoa view originally created to support fast re-painting to white on |
+// resize. This is done by CoreAnimation now, so this view remains only as the |
+// first opaque ancestor of accelerated web contents views. |
@interface FastResizeView : NSView { |
@private |
- BOOL fastResizeMode_; |
- |
// Whether the bottom corners should be rounded. |
BOOL roundedBottomCorners_; |
@@ -26,12 +21,6 @@ |
CAShapeLayer* layerMask_; |
} |
-// 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:| |
-// to trigger a resize. |
-- (void)setFastResizeMode:(BOOL)fastResizeMode; |
- |
// Changes whether the bottom two corners are rounded. |
- (void)setRoundedBottomCorners:(BOOL)roundedBottomCorners; |