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 24 matching lines...) Expand all Loading... |
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; | 43 // Updates the toolbar tab count; |
44 - (void)setToolbarTabCount:(int)tabCount; | 44 - (void)setToolbarTabCount:(int)tabCount; |
| 45 |
| 46 // |YES| if the toolbar can show the forward arrow. |
| 47 - (void)setCanGoForward:(BOOL)canGoForward; |
| 48 |
| 49 // |YES| if the toolbar can show the back arrow. |
| 50 - (void)setCanGoBack:(BOOL)canGoBack; |
| 51 |
45 @end | 52 @end |
46 | 53 |
47 #endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HEADER_VIEW_H_ | 54 #endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_HEADER_VIEW_H_ |
OLD | NEW |