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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 1956893003: compositor-worker: Add CompositorProxyClient worker client of CompositorWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumb createCompositorProxyClient through WebFrameWidget. Created 4 years, 7 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: third_party/WebKit/Source/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index ab5b0e7b38da10ede99bb915ea7f6405b1e21267..64bd29b11e399eeacb524392bdf1c24450ff2e86 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -1073,6 +1073,12 @@ void ChromeClientImpl::didUpdateTopControls() const
m_webView->didUpdateTopControls();
}
+CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient(LocalFrame* frame)
+{
+ WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame);
+ return webFrame->frameWidget()->createCompositorProxyClient();
dcheng 2016/05/20 23:57:47 frameWidget() is only non-null on "local roots", s
flackr 2016/05/25 17:47:40 Done, but can you clarify something. If the root i
kenrb 2016/05/25 18:02:17 A 'local root' is either the top-level frame, or a
+}
+
void ChromeClientImpl::registerPopupOpeningObserver(PopupOpeningObserver* observer)
{
DCHECK(observer);

Powered by Google App Engine
This is Rietveld 408576698