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

Unified Diff: ios/chrome/browser/ui/ntp/google_landing_data_source.h

Issue 2832573002: Remove WebToolbarDelegate from GoogleLandingDataSource. (Closed)
Patch Set: New comments 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_data_source.h
diff --git a/ios/chrome/browser/ui/ntp/google_landing_data_source.h b/ios/chrome/browser/ui/ntp/google_landing_data_source.h
index b8621d1204e883a8641b98d3fbfc4e18fa710c59..aa3d3ed2d7910422b540353ae74685373f3575ce 100644
--- a/ios/chrome/browser/ui/ntp/google_landing_data_source.h
+++ b/ios/chrome/browser/ui/ntp/google_landing_data_source.h
@@ -41,6 +41,10 @@ class LargeIconService;
// Called when a what's new promo is tapped.
- (void)promoTapped;
+// TODO(crbug.com/694750): This should move to a dispatcher.
+// Called before the fake tab switcher icon is tapped to save snapshots.
+- (void)prepareToEnterTabSwitcher:(id)sender;
+
// TODO(crbug.com/694750): The following two methods should be moved to the
// consumer, and converted into types more suitable for a consumer.
// Gets an a most visited NTP tile at |index|.
@@ -49,7 +53,7 @@ class LargeIconService;
// Gets the number of most visited entries.
- (NSUInteger)mostVisitedSize;
-// TODO(crbug.com/694750): The following five properties will be removed in
+// TODO(crbug.com/694750): The following three properties will be removed in
// subsequent CLs, with data provided via GoogleDataConsumer into types more
// suitable for a consumer.
@@ -62,8 +66,6 @@ class LargeIconService;
// Gets the large icon service.
- (favicon::LargeIconService*)largeIconService;
-// Gets the toolbar delegate.
-- (id<WebToolbarDelegate>)toolbarDelegate;
@end
« no previous file with comments | « ios/chrome/browser/ui/ntp/google_landing_controller.mm ('k') | ios/chrome/browser/ui/ntp/google_landing_mediator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698