OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_BAR_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_BAR_H_ |
6 #define IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_BAR_H_ | 6 #define IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_BAR_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 #import "ios/chrome/browser/ui/ntp/google_landing_controller.h" | 10 #import "ios/chrome/browser/ui/ntp/google_landing_view_controller.h" |
11 | 11 |
12 @class NewTabPageBarItem; | 12 @class NewTabPageBarItem; |
13 | 13 |
14 @protocol NewTabPageBarDelegate | 14 @protocol NewTabPageBarDelegate |
15 // Called when new tab page bar item is selected and the selection is changed. | 15 // Called when new tab page bar item is selected and the selection is changed. |
16 // If |changePanel| is true, bring the panel into view in the scroll view. | 16 // If |changePanel| is true, bring the panel into view in the scroll view. |
17 - (void)newTabBarItemDidChange:(NewTabPageBarItem*)selectedItem | 17 - (void)newTabBarItemDidChange:(NewTabPageBarItem*)selectedItem |
18 changePanel:(BOOL)changePanel; | 18 changePanel:(BOOL)changePanel; |
19 @end | 19 @end |
20 | 20 |
(...skipping 12 matching lines...) Expand all Loading... |
33 // of the scroll view. Tablet Incognito only. | 33 // of the scroll view. Tablet Incognito only. |
34 - (void)updateColorsForScrollView:(UIScrollView*)scrollView; | 34 - (void)updateColorsForScrollView:(UIScrollView*)scrollView; |
35 | 35 |
36 // Updates the alpha of the shadow image. When the alpha changes from 0 to 1 or | 36 // Updates the alpha of the shadow image. When the alpha changes from 0 to 1 or |
37 // 1 to 0, the alpha change is animated. | 37 // 1 to 0, the alpha change is animated. |
38 - (void)setShadowAlpha:(CGFloat)alpha; | 38 - (void)setShadowAlpha:(CGFloat)alpha; |
39 | 39 |
40 @end | 40 @end |
41 | 41 |
42 #endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_BAR_H_ | 42 #endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_BAR_H_ |
OLD | NEW |