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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/util/ColorUtils.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/util/ColorUtils.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/util/ColorUtils.java b/chrome/android/java/src/org/chromium/chrome/browser/util/ColorUtils.java
index d3213cfdda18e168d2926c32cad91ec378ba663e..8df3ca19d1470fdb14ce00a6310de3ad33d90140 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/util/ColorUtils.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/util/ColorUtils.java
@@ -10,7 +10,7 @@ import android.graphics.Color;
import org.chromium.base.ApiCompatibilityUtils;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.ntp.NewTabPage;
-import org.chromium.chrome.browser.ntp.NtpColorUtils;
+import org.chromium.chrome.browser.ntp.NtpStyleUtils;
import org.chromium.chrome.browser.tab.Tab;
/**
@@ -61,7 +61,7 @@ public class ColorUtils {
// NTP should have no visible textbox in the toolbar, so just return the toolbar's
// background color.
if (tab.getNativePage() instanceof NewTabPage) {
- return NtpColorUtils.getToolbarBackgroundColorResource(res);
+ return NtpStyleUtils.getToolbarBackgroundColorResource(res);
}
return Color.WHITE;

Powered by Google App Engine
This is Rietveld 408576698