OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_BARS_BOOKMARK_TOP_BAR_H_ | 4 #ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_BARS_BOOKMARK_TOP_BAR_H_ |
5 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BARS_BOOKMARK_TOP_BAR_H_ | 5 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BARS_BOOKMARK_TOP_BAR_H_ |
6 | 6 |
7 #import <UIKit/UIKit.h> | 7 #import <UIKit/UIKit.h> |
8 | 8 |
9 @interface BookmarkTopBar : UIView | 9 @interface BookmarkTopBar : UIView |
10 | 10 |
11 // All subviews should be added to |contentView|, which allows easy | 11 // All subviews should be added to |contentView|, which allows easy |
12 // repositioning of the content to account for iOS 6 and iOS 7+ layout | 12 // repositioning of the content to account for iOS 6 and iOS 7+ layout |
13 // differences. | 13 // differences. |
14 @property(nonatomic, readonly) UIView* contentView; | 14 @property(strong, nonatomic, readonly) UIView* contentView; |
15 | 15 |
16 // The height that this view's content view will be instantiated at. This is | 16 // The height that this view's content view will be instantiated at. This is |
17 // independent of the status bar. | 17 // independent of the status bar. |
18 + (CGFloat)expectedContentViewHeight; | 18 + (CGFloat)expectedContentViewHeight; |
19 | 19 |
20 @end | 20 @end |
21 | 21 |
22 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BARS_BOOKMARK_TOP_BAR_H_ | 22 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BARS_BOOKMARK_TOP_BAR_H_ |
OLD | NEW |