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

Unified Diff: third_party/WebKit/public/web/WebWidget.h

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: Address Vollick comments 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
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..30b4c58915390a27f51008254f37b407e8704408 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.
*
@@ -52,6 +51,7 @@ class WebInputEvent;
class WebLayoutAndPaintAsyncCallback;
class WebPagePopup;
class WebString;
+struct WebCompositorMutations;
struct WebPoint;
template <typename T> class WebVector;
@@ -148,6 +148,9 @@ 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&) {}
jbroman 2016/01/23 23:55:10 nit: Would you mind including "compositor" or simi
majidvp 2016/01/25 20:40:11 Done.
+
// Called to inform the WebWidget that mouse capture was lost.
virtual void mouseCaptureLost() { }

Powered by Google App Engine
This is Rietveld 408576698