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

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: Add big fat TODOs in scheduler code to implement proper idle task scheduling and ensure GC is runni… 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/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 6c951efa8a18064d8102ae9893c6cd1ae9230519..786eb028b870471575fdb67166862f182118a411 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;
@@ -502,6 +503,7 @@ public:
void forceNextWebGLContextCreationToFail() override;
void forceNextDrawingBufferCreationToFail() override;
+ CompositorProxyClient* createCompositorProxyClient();
IntSize mainFrameSize();
WebDisplayMode displayMode() const { return m_displayMode; }
@@ -743,6 +745,11 @@ private:
FloatSize m_elasticOverscroll;
+ // This is owned by the LayerTreeHostImpl, and should only be used on the
+ // compositor thread. The LayerTreeHostImpl is indirectly owned by this
+ // class so this pointer should be valid until this class is destructed.
haraken 2016/05/06 02:45:51 Then can we remove the m_mutator by looking up the
flackr 2016/05/06 18:15:08 We might technically be able to get it through Web
+ CrossThreadPersistent<CompositorMutatorImpl> m_mutator;
+
Persistent<EventListener> m_popupMouseWheelEventListener;
WebPageImportanceSignals m_pageImportanceSignals;

Powered by Google App Engine
This is Rietveld 408576698