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

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