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

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

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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 cc4c3254cb80633e2c82726c03aa3078a29c2026..c47ba457cd9cdd1f48fe23d965d5d09dd43f484b 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -86,6 +86,7 @@ class WebLayerTreeView;
class WebLocalFrame;
class WebLocalFrameImpl;
class WebImage;
+class CompositorMutatorImpl;
class WebPagePopupImpl;
class WebPlugin;
class WebRemoteFrame;
@@ -131,6 +132,8 @@ public:
const WebFloatSize& elasticOverscrollDelta,
float pageScaleDelta,
float topControlsShownRatioDelta) override;
+
+ void applyMutations(const WebCompositorMutations&) override;
void recordFrameTimingEvent(enum FrameTimingEventType, int64_t, const WebVector<WebFrameTimingEvent>&) override;
void mouseCaptureLost() override;
void setFocus(bool enable) override;
@@ -517,6 +520,10 @@ public:
void forceNextWebGLContextCreationToFail() override;
void forceNextDrawingBufferCreationToFail() override;
+ CompositorProxyClient* createCompositorProxyClient() override;
+ void schedulePostCommitTask(PassOwnPtr<Closure>);
+ void didCommit() override;
+
IntSize mainFrameSize();
WebDisplayMode displayMode() const { return m_displayMode; }
@@ -765,6 +772,10 @@ private:
FloatSize m_elasticOverscroll;
+ OwnPtr<CompositorMutatorImpl> m_mutator;
+
+ Vector<OwnPtr<WTF::Closure>> m_postCommitTasks;
+
RefPtrWillBePersistent<EventListener> m_popupMouseWheelEventListener;
WebPageImportanceSignals m_pageImportanceSignals;
« no previous file with comments | « third_party/WebKit/Source/web/CompositorProxyClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698