OLD | NEW |
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 // A simple custom NSView for the bookmark bar used to prevent clicking and | 5 // A simple custom NSView for the bookmark bar used to prevent clicking and |
6 // dragging from moving the browser window. | 6 // dragging from moving the browser window. |
7 | 7 |
8 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ | 8 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ |
9 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ | 9 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ |
10 #pragma once | 10 #pragma once |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 IBOutlet BookmarkBarController* controller_; | 23 IBOutlet BookmarkBarController* controller_; |
24 IBOutlet NSTextField* noItemTextfield_; | 24 IBOutlet NSTextField* noItemTextfield_; |
25 IBOutlet NSButton* importBookmarksButton_; | 25 IBOutlet NSButton* importBookmarksButton_; |
26 NSView* noItemContainer_; | 26 NSView* noItemContainer_; |
27 } | 27 } |
28 - (NSTextField*)noItemTextfield; | 28 - (NSTextField*)noItemTextfield; |
29 - (NSButton*)importBookmarksButton; | 29 - (NSButton*)importBookmarksButton; |
30 - (BookmarkBarController*)controller; | 30 - (BookmarkBarController*)controller; |
31 | 31 |
32 @property (nonatomic, assign) IBOutlet NSView* noItemContainer; | 32 @property(nonatomic, assign) IBOutlet NSView* noItemContainer; |
33 @end | 33 @end |
34 | 34 |
35 @interface BookmarkBarView() // TestingOrInternalAPI | 35 @interface BookmarkBarView() // TestingOrInternalAPI |
36 @property (nonatomic, readonly) BOOL dropIndicatorShown; | 36 @property(nonatomic, readonly) BOOL dropIndicatorShown; |
37 @property (nonatomic, readonly) CGFloat dropIndicatorPosition; | 37 @property(nonatomic, readonly) CGFloat dropIndicatorPosition; |
38 - (void)setController:(id)controller; | 38 - (void)setController:(id)controller; |
39 @end | 39 @end |
40 | 40 |
41 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ | 41 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ |
OLD | NEW |