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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl.h

Issue 11293121: Add latency measurement system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: create cc::LatencyInfo Created 7 years, 12 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: webkit/compositor_bindings/web_layer_tree_view_impl.h
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl.h b/webkit/compositor_bindings/web_layer_tree_view_impl.h
index d9563d13ad6fd6490d3231d1900c459e9d490588..a02d0b919c8afbdf7afde9e7e911fb7a4d86851b 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl.h
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl.h
@@ -20,6 +20,8 @@ namespace WebKit {
class WebLayer;
class WebLayerTreeViewClient;
class WebLayerTreeViewClientAdapter;
+struct WebLatencyInfo;
+struct WebLatencyInfoImpl;
class WebLayerTreeViewImpl : public WebLayerTreeView, public cc::LayerTreeHostClient {
public:
@@ -59,6 +61,7 @@ public:
virtual void setShowPaintRects(bool show);
virtual void setContinuousPaintingEnabled(bool);
virtual void loseCompositorContext(int numTimes) OVERRIDE;
+ virtual void setLatencyInfo(const WebKit::WebLatencyInfo&) OVERRIDE;
// cc::LayerTreeHostClient implementation.
virtual void willBeginFrame() OVERRIDE;
@@ -75,6 +78,7 @@ public:
virtual void didCompleteSwapBuffers() OVERRIDE;
virtual void scheduleComposite() OVERRIDE;
virtual scoped_ptr<cc::FontAtlas> createFontAtlas();
+ virtual void onReceivedLatencyInfo(const cc::LatencyInfo&) OVERRIDE;
private:
WebLayerTreeViewClient* m_client;
« no previous file with comments | « webkit/compositor_bindings/web_latency_info_impl.h ('k') | webkit/compositor_bindings/web_layer_tree_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698