| Index: chrome/browser/ui/cocoa/tabs/tab_view.mm
|
| diff --git a/chrome/browser/ui/cocoa/tabs/tab_view.mm b/chrome/browser/ui/cocoa/tabs/tab_view.mm
|
| index 5936812438ff60760d89d8a7916e12f66f28279a..cfe91fd9be9d7d6b88037c6af1a86a21d8c36480 100644
|
| --- a/chrome/browser/ui/cocoa/tabs/tab_view.mm
|
| +++ b/chrome/browser/ui/cocoa/tabs/tab_view.mm
|
| @@ -219,6 +219,13 @@ CGFloat LineWidthFromContext(CGContextRef context) {
|
| [super dealloc];
|
| }
|
|
|
| +// Called by AppKit to check if dragging this view should move the window.
|
| +// NSButton overrides this method in the same way so dragging window buttons
|
| +// has no effect.
|
| +- (NSRect)_opaqueRectForWindowMoveWhenInTitlebar {
|
| + return [self bounds];
|
| +}
|
| +
|
| // Called to obtain the context menu for when the user hits the right mouse
|
| // button (or control-clicks). (Note that -rightMouseDown: is *not* called for
|
| // control-click.)
|
|
|