| 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 #ifndef IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HEADER_VIEW_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HEADER_VIEW_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HEADER_VIEW_H_ | 6 #define IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HEADER_VIEW_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 #import "ios/chrome/browser/ui/toolbar/toolbar_owner.h" | 10 #import "ios/chrome/browser/ui/toolbar/toolbar_owner.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 // Initializes |_searchBoxBorder| and |_shadow| and adds them to |searchField|. | 34 // Initializes |_searchBoxBorder| and |_shadow| and adds them to |searchField|. |
| 35 - (void)addViewsToSearchField:(UIView*)searchField; | 35 - (void)addViewsToSearchField:(UIView*)searchField; |
| 36 | 36 |
| 37 // Animates |_shadow|'s alpha to 0. | 37 // Animates |_shadow|'s alpha to 0. |
| 38 - (void)fadeOutShadow; | 38 - (void)fadeOutShadow; |
| 39 | 39 |
| 40 // Hide toolbar subviews that should not be displayed on the new tab page. | 40 // Hide toolbar subviews that should not be displayed on the new tab page. |
| 41 - (void)hideToolbarViewsForNewTabPage; | 41 - (void)hideToolbarViewsForNewTabPage; |
| 42 | 42 |
| 43 // Updates the toolbar tab count; | |
| 44 - (void)setToolbarTabCount:(int)tabCount; | |
| 45 @end | 43 @end |
| 46 | 44 |
| 47 #endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HEADER_VIEW_H_ | 45 #endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HEADER_VIEW_H_ |
| OLD | NEW |