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

Side by Side Diff: ios/chrome/browser/ui/ntp/new_tab_page_header_constants.mm

Issue 2891563003: [ObjC ARC] Converts ios/chrome/browser/ui/ntp:ntp_header to ARC. (Closed)
Patch Set: comments Created 3 years, 6 months 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 unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/ntp/BUILD.gn ('k') | ios/chrome/browser/ui/ntp/new_tab_page_header_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698