OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_GOOGLE_LANDING_CONTROLLER_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_VIEW_CONTROLLER_H_ |
6 #define IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONTROLLER_H_ | 6 #define IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_VIEW_CONTROLLER_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #import "ios/chrome/browser/ui/ntp/google_landing_consumer.h" | 12 #import "ios/chrome/browser/ui/ntp/google_landing_consumer.h" |
13 #import "ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h" | 13 #import "ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h" |
14 #import "ios/chrome/browser/ui/toolbar/toolbar_owner.h" | 14 #import "ios/chrome/browser/ui/toolbar/toolbar_owner.h" |
15 #import "ios/public/provider/chrome/browser/voice/logo_animation_controller.h" | 15 #import "ios/public/provider/chrome/browser/voice/logo_animation_controller.h" |
16 | 16 |
17 @protocol GoogleLandingDataSource; | 17 @protocol GoogleLandingDataSource; |
18 @protocol OmniboxFocuser; | 18 @protocol OmniboxFocuser; |
19 @protocol UrlLoader; | 19 @protocol UrlLoader; |
20 | 20 |
21 // Google centric new tab page. | 21 // Google centric new tab page. |
22 @interface GoogleLandingController | 22 @interface GoogleLandingViewController |
23 : UIViewController<GoogleLandingConsumer, | 23 : UIViewController<GoogleLandingConsumer, |
24 LogoAnimationControllerOwnerOwner, | 24 LogoAnimationControllerOwnerOwner, |
25 NewTabPagePanelProtocol, | 25 NewTabPagePanelProtocol, |
26 ToolbarOwner> | 26 ToolbarOwner> |
27 | 27 |
28 @property(nonatomic, assign) id<GoogleLandingDataSource> dataSource; | 28 @property(nonatomic, assign) id<GoogleLandingDataSource> dataSource; |
29 | 29 |
30 @property(nonatomic, assign) id<UrlLoader, OmniboxFocuser> dispatcher; | 30 @property(nonatomic, assign) id<UrlLoader, OmniboxFocuser> dispatcher; |
31 | 31 |
32 @end | 32 @end |
33 | 33 |
34 #endif // IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONTROLLER_H_ | 34 #endif // IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_VIEW_CONTROLLER_H_ |
OLD | NEW |