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 | 4 |
5 #import "ios/chrome/browser/ui/ntp/new_tab_page_header_constants.h" | 5 #import "ios/chrome/browser/ui/ntp/new_tab_page_header_constants.h" |
6 | 6 |
| 7 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 8 #error "This file requires ARC support." |
| 9 #endif |
| 10 |
7 namespace ntp_header { | 11 namespace ntp_header { |
8 | 12 |
9 const CGFloat kMinHeaderHeight = 62; | 13 const CGFloat kMinHeaderHeight = 62; |
10 const CGFloat kAnimationDistance = 42; | 14 const CGFloat kAnimationDistance = 42; |
11 const CGFloat kToolbarHeight = 56; | 15 const CGFloat kToolbarHeight = 56; |
12 const CGFloat kScrolledToTopOmniboxBottomMargin = 4; | 16 const CGFloat kScrolledToTopOmniboxBottomMargin = 4; |
13 | 17 |
14 } // ntp_header | 18 } // ntp_header |
OLD | NEW |