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

Unified Diff: ios/chrome/browser/ui/bookmarks/bars/bookmark_top_bar.h

Issue 2586993002: Upstream Chrome on iOS source code [3/11]. (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/bookmarks/bars/bookmark_top_bar.h
diff --git a/ios/chrome/browser/ui/bookmarks/bars/bookmark_top_bar.h b/ios/chrome/browser/ui/bookmarks/bars/bookmark_top_bar.h
new file mode 100644
index 0000000000000000000000000000000000000000..051121c4df72dbb33af6924c6b3fb77d214464fb
--- /dev/null
+++ b/ios/chrome/browser/ui/bookmarks/bars/bookmark_top_bar.h
@@ -0,0 +1,22 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+#ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_BARS_BOOKMARK_TOP_BAR_H_
+#define IOS_CHROME_BROWSER_UI_BOOKMARKS_BARS_BOOKMARK_TOP_BAR_H_
+
+#import <UIKit/UIKit.h>
+
+@interface BookmarkTopBar : UIView
+
+// All subviews should be added to |contentView|, which allows easy
+// repositioning of the content to account for iOS 6 and iOS 7+ layout
+// differences.
+@property(nonatomic, readonly) UIView* contentView;
+
+// The height that this view's content view will be instantiated at. This is
+// independent of the status bar.
++ (CGFloat)expectedContentViewHeight;
+
+@end
+
+#endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BARS_BOOKMARK_TOP_BAR_H_

Powered by Google App Engine
This is Rietveld 408576698