OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #import <Cocoa/Cocoa.h> |
| 6 |
| 7 // TabViewPickerTable is an NSTableView that can be used to switch between the |
| 8 // NSTabViewItems of an NSTabView. To use this, just create a |
| 9 // TabViewPickerTable in Interface Builder and connect the |tabView_| outlet |
| 10 // to an NSTabView. Now the table is automatically populated with the tab labels |
| 11 // of the tab view, clicking the table updates the tab view, and switching |
| 12 // tab view items updates the selection of the table. |
| 13 @interface TabViewPickerTable : NSTableView { |
| 14 @public |
| 15 IBOutlet NSTabView* tabView_; // Visible for testing. |
| 16 |
| 17 @private |
| 18 id oldTabViewDelegate_; |
| 19 } |
| 20 @end |
OLD | NEW |