Chromium Code Reviews| Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
| diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
| index 626d742e101675067ae37c08e24de353f009093a..42cdd3c2e2627e3e4a2121b4cb545b48fcfa705e 100644 |
| --- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
| +++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
| @@ -229,6 +229,13 @@ CGFloat FlipXInView(NSView* view, CGFloat width, CGFloat x) { |
| return NO; |
| } |
| +// 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 { |
|
tapted
2016/10/10 23:38:06
nit: we typically forward-declare these - I guess
Eugene But (OOO till 7-30)
2016/10/11 00:33:10
Done.
|
| + return [self bounds]; |
|
tapted
2016/10/10 23:38:06
Maybe comment here what the base class returns? (I
Eugene But (OOO till 7-30)
2016/10/11 00:33:10
Done in predeclaration.
|
| +} |
| + |
| - (id)initWithFrame:(NSRect)frameRect |
| controller:(TabStripController*)controller { |
| if ((self = [super initWithFrame:frameRect])) { |