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

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 5 years 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
« no previous file with comments | « third_party/WebKit/Source/web/WebMutatorImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d68739e16881a5d7343396d2b0d6201611068098..676323f1f81233e564259ab388c9810e71adcb3e 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 WebMutatorImpl;
class WebPagePopupImpl;
class WebPlugin;
class WebRemoteFrame;
@@ -131,6 +132,8 @@ public:
const WebFloatSize& elasticOverscrollDelta,
float pageScaleDelta,
float topControlsShownRatioDelta) override;
+
+ void applyMutations(const WebMutationMap& mutations) 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; }
@@ -763,6 +770,10 @@ private:
FloatSize m_elasticOverscroll;
+ OwnPtr<WebMutatorImpl> 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/WebMutatorImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698