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() { } |