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

Unified Diff: Source/web/WebLocalFrameImpl.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/WebLocalFrameImpl.cpp
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
index 48a17adfc6bd43d1d37e162fd1a13fd2304a2e08..12026f0d216af29d70e84d74e8d70023fe87f298 100644
--- a/Source/web/WebLocalFrameImpl.cpp
+++ b/Source/web/WebLocalFrameImpl.cpp
@@ -563,6 +563,11 @@ void WebLocalFrameImpl::setSharedWorkerRepositoryClient(WebSharedWorkerRepositor
m_sharedWorkerRepositoryClient = SharedWorkerRepositoryClientImpl::create(client);
}
+WebColor WebLocalFrameImpl::brandColor() const
+{
+ return frame()->document()->brandColor().rgb();
+}
+
WebSize WebLocalFrameImpl::scrollOffset() const
{
FrameView* view = frameView();

Powered by Google App Engine
This is Rietveld 408576698