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

Unified Diff: chrome/browser/cocoa/tab_window_controller.h

Issue 159780: Add support for constrained windows on os x, based on Avi's GTMWindowSheetController. (Closed)
Patch Set: Merge with ToT Created 11 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
Index: chrome/browser/cocoa/tab_window_controller.h
diff --git a/chrome/browser/cocoa/tab_window_controller.h b/chrome/browser/cocoa/tab_window_controller.h
index 46928bd31fec55f42870dfdbff4f2fdfdd881b9c..4c0f07ac6c8315720743341de1e644c94eeb85d5 100644
--- a/chrome/browser/cocoa/tab_window_controller.h
+++ b/chrome/browser/cocoa/tab_window_controller.h
@@ -20,6 +20,8 @@
#import <Cocoa/Cocoa.h>
+#include "base/scoped_nsobject.h"
+
@class TabStripView;
@class TabView;
@@ -31,6 +33,7 @@
NSView* cachedContentView_; // Used during dragging for identifying which
// view is the proper content area in the overlay
// (weak)
+ scoped_nsobject<NSMutableSet> lockedTabs_;
}
@property(readonly, nonatomic) TabStripView* tabStripView;
@property(readonly, nonatomic) NSView* tabContentArea;
@@ -99,6 +102,8 @@
// default implementation returns YES.
- (BOOL)isNormalWindow;
+- (BOOL)isTabDraggable:(NSView*)tabView;
+- (void)setTab:(NSView*)tabView isDraggable:(BOOL)draggable;
@end

Powered by Google App Engine
This is Rietveld 408576698