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

Side by Side Diff: chrome/browser/ui/cocoa/tab_view_picker_table.h

Issue 6258017: Mac: Never have a space between @property and ( (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: comments Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #import "base/mac/cocoa_protocols.h" 7 #import "base/mac/cocoa_protocols.h"
8 #include "base/scoped_nsobject.h" 8 #include "base/scoped_nsobject.h"
9 9
10 // TabViewPickerTable is an NSOutlineView that can be used to switch between the 10 // TabViewPickerTable is an NSOutlineView that can be used to switch between the
11 // NSTabViewItems of an NSTabView. To use this, just create a 11 // NSTabViewItems of an NSTabView. To use this, just create a
12 // TabViewPickerTable in Interface Builder and connect the |tabView_| outlet 12 // TabViewPickerTable in Interface Builder and connect the |tabView_| outlet
13 // to an NSTabView. Now the table is automatically populated with the tab labels 13 // to an NSTabView. Now the table is automatically populated with the tab labels
14 // of the tab view, clicking the table updates the tab view, and switching 14 // of the tab view, clicking the table updates the tab view, and switching
15 // tab view items updates the selection of the table. 15 // tab view items updates the selection of the table.
16 @interface TabViewPickerTable : NSOutlineView <NSTabViewDelegate, 16 @interface TabViewPickerTable : NSOutlineView <NSTabViewDelegate,
17 NSOutlineViewDelegate, 17 NSOutlineViewDelegate,
18 NSOutlineViewDataSource> { 18 NSOutlineViewDataSource> {
19 @public 19 @public
20 IBOutlet NSTabView* tabView_; // Visible for testing. 20 IBOutlet NSTabView* tabView_; // Visible for testing.
21 21
22 @private 22 @private
23 id oldTabViewDelegate_; 23 id oldTabViewDelegate_;
24 24
25 // Shown above all the tab names. May be |nil|. 25 // Shown above all the tab names. May be |nil|.
26 scoped_nsobject<NSString> heading_; 26 scoped_nsobject<NSString> heading_;
27 } 27 }
28 @property (nonatomic, copy) NSString* heading; 28 @property(nonatomic, copy) NSString* heading;
29 @end 29 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/styled_text_field_test_helper.h ('k') | chrome/browser/ui/cocoa/view_resizer_pong.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698