Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5331)

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_window_controller.mm

Issue 10870094: Constrained window sheet controller (test patch) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_window_controller.h ('k') | chrome/browser/ui/cocoa/view_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_window_controller.h ('k') | chrome/browser/ui/cocoa/view_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698