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

Unified Diff: ios/chrome/browser/ui/ntp/google_landing_controller.mm

Issue 2606023003: Fix flaky NewTabPageTestCase.testOmnibox (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | ios/chrome/browser/ui/ntp/new_tab_page_egtest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/ntp/google_landing_controller.mm
diff --git a/ios/chrome/browser/ui/ntp/google_landing_controller.mm b/ios/chrome/browser/ui/ntp/google_landing_controller.mm
index 47be94d11c170ec9f3e283eaff81a8e0413030f7..2e59132647a2eda4df229d1ee9b0867c6bd0e182 100644
--- a/ios/chrome/browser/ui/ntp/google_landing_controller.mm
+++ b/ios/chrome/browser/ui/ntp/google_landing_controller.mm
@@ -1674,10 +1674,16 @@ void SearchEngineObserver::OnTemplateURLServiceChanged() {
_most_visited_sites->AddOrRemoveBlacklistedUrl(url, false);
}
+#pragma mark - GoogleLandingController (ExposedForTesting) methods.
+
- (BOOL)scrolledToTop {
return _scrolledToTop;
}
+- (BOOL)animateHeader {
+ return _animateHeader;
+}
+
#pragma mark - OverscrollActionsControllerDelegate
- (void)overscrollActionsController:(OverscrollActionsController*)controller
« no previous file with comments | « no previous file | ios/chrome/browser/ui/ntp/new_tab_page_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698