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

Unified Diff: third_party/WebKit/public/platform/WebLayerTreeView.h

Issue 2835763002: Use swap-promise to improve first* paint times (Closed)
Patch Set: address review comments Created 3 years, 8 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/platform/WebLayerTreeView.h
diff --git a/third_party/WebKit/public/platform/WebLayerTreeView.h b/third_party/WebKit/public/platform/WebLayerTreeView.h
index 35b27082dddb4fc3bc8fa7e55b632f92cdfa2d4f..a9fe23823883920e4feb6eb1f0176e01de8ea087 100644
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h
@@ -33,6 +33,7 @@
#include "WebEventListenerProperties.h"
#include "WebFloatPoint.h"
#include "WebSize.h"
+#include "base/callback.h"
#include "cc/surfaces/frame_sink_id.h"
namespace cc {
@@ -181,6 +182,8 @@ class WebLayerTreeView {
// Toggles scroll bottleneck rects on the HUD layer
virtual void SetShowScrollBottleneckRects(bool) {}
+
sunnyps 2017/05/02 01:20:46 nit: can you typedef or using the callback here? a
panicker 2017/05/02 21:21:36 Done.
+ virtual void NotifySwapTime(base::Callback<void(bool, double)> callback) {}
};
} // namespace blink
« third_party/WebKit/Source/core/paint/PaintTiming.h ('K') | « third_party/WebKit/public/platform/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698