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

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: minor input event changes Created 8 years 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 84955665d97c689923e13bcc54af9bb5c924ef64..b39d644126a83a5f2813769f6dfd62d1879f5f6d 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl.h
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl.h
@@ -19,6 +19,8 @@ namespace WebKit {
class WebLayer;
class WebLayerTreeViewClient;
class WebLayerTreeViewClientAdapter;
+struct WebLatencyInfo;
+struct WebLatencyInfoImpl;
class WebLayerTreeViewImpl : public WebLayerTreeView, public cc::LayerTreeHostClient {
public:
@@ -54,6 +56,7 @@ public:
virtual void setShowFPSCounter(bool show);
virtual void setShowPaintRects(bool show);
virtual void loseCompositorContext(int numTimes) OVERRIDE;
+ virtual void setLatencyInfo(const WebKit::WebLatencyInfo&) OVERRIDE;
// cc::LayerTreeHostClient implementation.
virtual void willBeginFrame() OVERRIDE;
@@ -70,6 +73,7 @@ public:
virtual void didCompleteSwapBuffers() OVERRIDE;
virtual void scheduleComposite() OVERRIDE;
virtual scoped_ptr<cc::FontAtlas> createFontAtlas();
+ virtual void onReceivedLatencyInfo(const WebKit::WebLatencyInfoImpl&) OVERRIDE;
private:
WebLayerTreeViewClient* m_client;

Powered by Google App Engine
This is Rietveld 408576698