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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java

Issue 975293004: Start caching the theme color in web_contents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
index 19b00b220e8104733889ba9e9a0ace3bf98a2bce..ae1b619124f7a83a31ab041964b7b10003b87136 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
@@ -229,4 +229,9 @@ public interface WebContents {
* @return Whether the initial empty page has been accessed by a script.
*/
public boolean hasAccessedInitialDocument();
+
+ /**
+ * @return The cached theme color for the web contents.
+ */
+ public int getThemeColor();
}

Powered by Google App Engine
This is Rietveld 408576698