OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HEADER_CONSTANTS_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HEADER_CONSTANTS_H_ |
| 7 |
| 8 #import <CoreGraphics/CoreGraphics.h> |
| 9 |
| 10 namespace ntp_header { |
| 11 |
| 12 // The minimum height of the new tab page header view when the new tab page is |
| 13 // scrolled up. |
| 14 extern const CGFloat kMinHeaderHeight; |
| 15 |
| 16 // The scroll distance within which to animate the search field from its |
| 17 // initial frame to its final full bleed frame. |
| 18 extern const CGFloat kAnimationDistance; |
| 19 |
| 20 extern const CGFloat kToolbarHeight; |
| 21 |
| 22 extern const CGFloat kScrolledToTopOmniboxBottomMargin; |
| 23 } // namespace ntp_header |
| 24 |
| 25 #endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HEADER_CONSTANTS_H_ |
OLD | NEW |