Index: chrome/browser/ui/cocoa/tabs/tab_window_controller.mm |
diff --git a/chrome/browser/ui/cocoa/tabs/tab_window_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_window_controller.mm |
index a4fb6f612c4f74e29061a9929b4c9e84804df483..6665b6cb1e85a3fa10c95387681b28a29e3af5b7 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_window_controller.mm |
+++ b/chrome/browser/ui/cocoa/tabs/tab_window_controller.mm |
@@ -42,13 +42,6 @@ |
@implementation TabWindowController |
@synthesize tabContentArea = tabContentArea_; |
-- (id)initWithWindow:(NSWindow*)window { |
- if ((self = [super initWithWindow:window]) != nil) { |
- lockedTabs_.reset([[NSMutableSet alloc] initWithCapacity:10]); |
- } |
- return self; |
-} |
- |
// Add the top tab strop to the window, above the content box and add it to the |
// view hierarchy as a sibling of the content view so it can overlap with the |
// window frame. |
@@ -270,14 +263,9 @@ |
} |
- (BOOL)isTabDraggable:(NSView*)tabView { |
- return ![lockedTabs_ containsObject:tabView]; |
-} |
- |
-- (void)setTab:(NSView*)tabView isDraggable:(BOOL)draggable { |
- if (draggable) |
- [lockedTabs_ removeObject:tabView]; |
- else |
- [lockedTabs_ addObject:tabView]; |
+ // Subclasses should implement this. |
+ NOTIMPLEMENTED(); |
+ return YES; |
} |
// Tell the window that it needs to call performClose: as soon as the current |