| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_DRAG_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_DRAG_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_DRAG_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_DRAG_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 TabController* draggedTab_; // Weak. The tab controller being dragged. | 53 TabController* draggedTab_; // Weak. The tab controller being dragged. |
| 54 | 54 |
| 55 TabWindowController* draggedController_; // Weak. Controller being dragged. | 55 TabWindowController* draggedController_; // Weak. Controller being dragged. |
| 56 NSWindow* dragWindow_; // Weak. The window being dragged | 56 NSWindow* dragWindow_; // Weak. The window being dragged |
| 57 NSWindow* dragOverlay_; // Weak. The overlay being dragged | 57 NSWindow* dragOverlay_; // Weak. The overlay being dragged |
| 58 | 58 |
| 59 TabWindowController* targetController_; // weak. Controller being targeted | 59 TabWindowController* targetController_; // weak. Controller being targeted |
| 60 } | 60 } |
| 61 | 61 |
| 62 // The tab being dragged, or nil if not dragging a tab. |
| 63 @property(readonly) TabController* draggedTab; |
| 64 |
| 62 // Designated initializer. | 65 // Designated initializer. |
| 63 - (id)initWithTabStripController:(TabStripController*)controller; | 66 - (id)initWithTabStripController:(TabStripController*)controller; |
| 64 | 67 |
| 65 // TabDraggingEventTarget methods are also implemented. | 68 // TabDraggingEventTarget methods are also implemented. |
| 66 | 69 |
| 67 @end | 70 @end |
| 68 | 71 |
| 69 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_DRAG_CONTROLLER_H_ | 72 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_DRAG_CONTROLLER_H_ |
| OLD | NEW |