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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/ntp/google_landing_controller.h
diff --git a/ios/chrome/browser/ui/ntp/google_landing_controller.h b/ios/chrome/browser/ui/ntp/google_landing_controller.h
index af2352d2bfda86d6f5f54cd1dbcb5fea0d24ab34..4b3325861c27316e2d0a85d3920c2bb6984d74c0 100644
--- a/ios/chrome/browser/ui/ntp/google_landing_controller.h
+++ b/ios/chrome/browser/ui/ntp/google_landing_controller.h
@@ -14,7 +14,10 @@
#import "ios/chrome/browser/ui/toolbar/toolbar_owner.h"
#import "ios/public/provider/chrome/browser/voice/logo_animation_controller.h"
+@protocol GoogleLandingCommands;
@protocol GoogleLandingDataSource;
+@protocol OmniboxFocuser;
+@protocol UrlLoader;
// Google centric new tab page.
@interface GoogleLandingController
@@ -25,6 +28,10 @@
@property(nonatomic, assign) id<GoogleLandingDataSource> dataSource;
+@property(nonatomic, assign)
+ id<GoogleLandingCommands, UrlLoader, OmniboxFocuser>
+ dispatcher;
+
@end
#endif // IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698