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

Side by Side Diff: ios/chrome/browser/ui/ntp/google_landing_controller.h

Issue 2829003002: Add CommandDispatcher to BrowserViewController. (Closed)
Patch Set: Cleaner Created 3 years, 8 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 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_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_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 GoogleLandingCommands;
17 @protocol GoogleLandingDataSource; 18 @protocol GoogleLandingDataSource;
19 @protocol OmniboxFocuser;
20 @protocol UrlLoader;
18 21
19 // Google centric new tab page. 22 // Google centric new tab page.
20 @interface GoogleLandingController 23 @interface GoogleLandingController
21 : UIViewController<GoogleLandingConsumer, 24 : UIViewController<GoogleLandingConsumer,
22 LogoAnimationControllerOwnerOwner, 25 LogoAnimationControllerOwnerOwner,
23 NewTabPagePanelProtocol, 26 NewTabPagePanelProtocol,
24 ToolbarOwner> 27 ToolbarOwner>
25 28
26 @property(nonatomic, assign) id<GoogleLandingDataSource> dataSource; 29 @property(nonatomic, assign) id<GoogleLandingDataSource> dataSource;
27 30
31 @property(nonatomic, assign)
32 id<GoogleLandingCommands, UrlLoader, OmniboxFocuser>
33 dispatcher;
34
28 @end 35 @end
29 36
30 #endif // IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONTROLLER_H_ 37 #endif // IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698