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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.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/NewTabPage.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
index 264d2e8cd6d86c806b385bcb4c557df632641521..81cf7f1e91a439d1e04902077cd5195d4890b7f0 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java
@@ -664,7 +664,7 @@ public class NewTabPage
mProfile = tab.getProfile();
mTitle = activity.getResources().getString(R.string.button_new_tab);
- mBackgroundColor = NtpColorUtils.getBackgroundColorResource(activity.getResources(), false);
+ mBackgroundColor = NtpStyleUtils.getBackgroundColorResource(activity.getResources(), false);
mThemeColor = ApiCompatibilityUtils.getColor(
activity.getResources(), R.color.default_primary_color);
TemplateUrlService.getInstance().addObserver(this);
@@ -969,7 +969,7 @@ public class NewTabPage
@Override
public int getThemeColor() {
return isLocationBarShownInNTP()
- ? NtpColorUtils.getBackgroundColorResource(mActivity.getResources(), false)
+ ? NtpStyleUtils.getBackgroundColorResource(mActivity.getResources(), false)
: mThemeColor;
}

Powered by Google App Engine
This is Rietveld 408576698