| Index: chrome/browser/ui/cocoa/fast_resize_view.mm
|
| diff --git a/chrome/browser/ui/cocoa/fast_resize_view.mm b/chrome/browser/ui/cocoa/fast_resize_view.mm
|
| index 0616cea38799e54dd72c17b33a9cc0b8cd99a39b..87f7787f287ecc9477ac018a8c3ad258f3f5aace 100644
|
| --- a/chrome/browser/ui/cocoa/fast_resize_view.mm
|
| +++ b/chrome/browser/ui/cocoa/fast_resize_view.mm
|
| @@ -16,8 +16,6 @@
|
|
|
| @implementation FastResizeView
|
|
|
| -@synthesize contentOffset = contentOffset_;
|
| -
|
| - (void)setFastResizeMode:(BOOL)fastResizeMode {
|
| if (fastResizeMode_ == fastResizeMode)
|
| return;
|
| @@ -42,24 +40,10 @@
|
| if (!fastResizeMode_)
|
| return;
|
|
|
| - // Don't draw on the non-content area.
|
| - NSRect clipRect = [self bounds];
|
| - clipRect.size.height -= contentOffset_;
|
| - NSRectClip(clipRect);
|
| -
|
| [[NSColor whiteColor] set];
|
| NSRectFill(dirtyRect);
|
| }
|
|
|
| -- (NSView*)hitTest:(NSPoint)point {
|
| - NSView* result = [super hitTest:point];
|
| - // Never return this view during hit testing. This allows overlapping views to
|
| - // get events even when they are not topmost.
|
| - if ([result isEqual:self])
|
| - return nil;
|
| - return result;
|
| -}
|
| -
|
| @end
|
|
|
| @implementation FastResizeView (PrivateMethods)
|
|
|