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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerView.java

Issue 2375023003: Ntp: experiment to initially scroll below the fold. (Closed)
Patch Set: Delete custom command line switch. Created 4 years, 3 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: chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerView.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerView.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerView.java
index 99b19a5cd123b66aab5292c3b1639aa883630f86..e767122cd210c6047c0e2906957eea0c0f3540fe 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerView.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/cards/NewTabPageRecyclerView.java
@@ -256,6 +256,10 @@ public class NewTabPageRecyclerView extends RecyclerView {
return (NewTabPageAdapter) getAdapter();
}
+ public LinearLayoutManager getLinearLayoutManager() {
+ return mLayoutManager;
+ }
+
/**
* Returns the approximate adapter position that the user has scrolled to. The purpose of this
* value is that it can be stored and later retrieved to restore a scroll position that is

Powered by Google App Engine
This is Rietveld 408576698