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

Unified Diff: Source/web/WebDocument.cpp

Issue 329943004: Implementation of brand-color (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/web/WebDocument.cpp
diff --git a/Source/web/WebDocument.cpp b/Source/web/WebDocument.cpp
index af379a91dfbda173df3bb0c0f350d40337c494a8..93fa0b1f19376e6c331c3e835bf60fc47e9ddb34 100644
--- a/Source/web/WebDocument.cpp
+++ b/Source/web/WebDocument.cpp
@@ -98,6 +98,11 @@ WebString WebDocument::referrer() const
return constUnwrap<Document>()->referrer();
}
+WebColor WebDocument::brandColor() const
+{
+ return constUnwrap<Document>()->brandColor().rgb();
+}
+
WebURL WebDocument::openSearchDescriptionURL() const
{
return const_cast<Document*>(constUnwrap<Document>())->openSearchDescriptionURL();

Powered by Google App Engine
This is Rietveld 408576698