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..e1b828bcfe60ba2ad46cf12cf72557d316621b25 100644 |
--- a/third_party/WebKit/public/web/WebWidget.h |
+++ b/third_party/WebKit/public/web/WebWidget.h |
@@ -1,4 +1,3 @@ |
- |
/* |
* Copyright (C) 2009 Google Inc. All rights reserved. |
* |
@@ -45,6 +44,8 @@ |
#include "WebTextDirection.h" |
#include "WebTextInputInfo.h" |
+#include <map> |
+ |
namespace blink { |
class WebCompositeAndReadbackAsyncCallback; |
@@ -52,6 +53,7 @@ class WebInputEvent; |
class WebLayoutAndPaintAsyncCallback; |
class WebPagePopup; |
class WebString; |
+struct WebCompositorMutations; |
struct WebPoint; |
template <typename T> class WebVector; |
@@ -148,6 +150,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 WebCompositorMutations&) {} |
+ |
+ // 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() { } |