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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bring up oilpan support during compositor worker creation and oilpan the compositor mutator and pro… Created 4 years, 8 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/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 7f1d23c77c98a2df04b62ade354ff12184ef1f4f..057bc0a5b3ef15ff95999c9f243d1df60a543e00 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -87,6 +87,7 @@ class WebLayerTreeView;
class WebLocalFrame;
class WebLocalFrameImpl;
class WebImage;
+class CompositorMutatorImpl;
class WebPagePopupImpl;
class WebPlugin;
class WebRemoteFrame;
@@ -505,6 +506,7 @@ public:
void forceNextWebGLContextCreationToFail() override;
void forceNextDrawingBufferCreationToFail() override;
+ CompositorProxyClient* createCompositorProxyClient(double referenceMonotonicTime);
IntSize mainFrameSize();
WebDisplayMode displayMode() const { return m_displayMode; }
@@ -744,6 +746,10 @@ private:
FloatSize m_elasticOverscroll;
+ // This is owned by the LayerTreeHostImpl, and should only be used on the
+ // compositor thread.
+ CompositorMutatorImpl* m_mutator;
jbroman 2016/04/29 19:42:23 A note about lifetime would be great here, too. Wh
flackr 2016/05/03 22:24:55 Not exactly true - LayerTreeHostImpl is indirectly
+
Persistent<EventListener> m_popupMouseWheelEventListener;
WebPageImportanceSignals m_pageImportanceSignals;

Powered by Google App Engine
This is Rietveld 408576698