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

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

Issue 2829003002: Add CommandDispatcher to BrowserViewController. (Closed)
Patch Set: rohit 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 aa3d3ed2d7910422b540353ae74685373f3575ce..1ef2068c62440623100bcc31069b1f5425efd06d 100644
--- a/ios/chrome/browser/ui/ntp/google_landing_data_source.h
+++ b/ios/chrome/browser/ui/ntp/google_landing_data_source.h
@@ -9,8 +9,6 @@
#include "components/ntp_tiles/ntp_tile.h"
#include "components/ntp_tiles/tile_visual_type.h"
-#import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h"
-#import "ios/chrome/browser/ui/url_loader.h"
#include "url/gurl.h"
class ReadingListModel;
@@ -18,12 +16,10 @@ class LargeIconCache;
namespace favicon {
class LargeIconService;
}
-@class TabModel;
-@protocol WebToolbarDelegate;
// DataSource for the google landing controller.
// TODO(crbug.com/694750): Most everything here can be moved to dispatcher.
-@protocol GoogleLandingDataSource<OmniboxFocuser, UrlLoader>
+@protocol GoogleLandingDataSource
// Removes a blacklisted URL in both |_mostVisitedData|.
- (void)removeBlacklistedURL:(const GURL&)url;
@@ -41,10 +37,6 @@ 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|.
@@ -66,8 +58,6 @@ class LargeIconService;
// Gets the large icon service.
- (favicon::LargeIconService*)largeIconService;
-
-
@end
#endif // IOS_CHROME_BROWSER_UI_NTP_GOOGLE_LANDING_DATA_SOURCE_H_
« no previous file with comments | « ios/chrome/browser/ui/ntp/google_landing_controller_unittest.mm ('k') | ios/chrome/browser/ui/ntp/google_landing_mediator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698