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

Unified Diff: third_party/WebKit/public/web/WebWidget.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/public/web/WebView.h ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebWidget.h
diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h
index ceb006fab242ba7440712515e0060f2649f0d4de..82817bfd8379ecde5eda65a3c7db78cb9f176f09 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -37,6 +37,7 @@
#include "../platform/WebFloatSize.h"
#include "../platform/WebFrameTimingEvent.h"
#include "../platform/WebInputEventResult.h"
+#include "../platform/WebMutation.h"
#include "../platform/WebPoint.h"
#include "../platform/WebRect.h"
#include "../platform/WebSize.h"
@@ -45,6 +46,8 @@
#include "WebTextDirection.h"
#include "WebTextInputInfo.h"
+#include <map>
+
namespace blink {
class WebCompositeAndReadbackAsyncCallback;
@@ -148,6 +151,13 @@ public:
};
virtual void recordFrameTimingEvent(FrameTimingEventType eventType, int64_t RectId, const WebVector<WebFrameTimingEvent>& events) { }
+ // Called to notify the WebWidget about the mutations made to the elements from a compositor worker.
+ virtual void applyMutations(const WebMutationMap& mutations) {}
+
+ // Called to notify the WebWidget that a commit has completed so that post
+ // commit work can be initiated.
+ virtual void didCommit() { }
+
// Called to inform the WebWidget that mouse capture was lost.
virtual void mouseCaptureLost() { }
« no previous file with comments | « third_party/WebKit/public/web/WebView.h ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698