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

Unified Diff: cc/output_surface.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
« no previous file with comments | « cc/layer_tree_host_unittest_scroll.cc ('k') | cc/output_surface_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output_surface.h
diff --git a/cc/output_surface.h b/cc/output_surface.h
index 3d62f184fbc8b30ac6aa0a948a7c7d81799a0df0..239b3974059ffe1a0e410114d07d4ff2389a0bba 100644
--- a/cc/output_surface.h
+++ b/cc/output_surface.h
@@ -19,6 +19,7 @@ namespace cc {
class CompositorFrame;
class OutputSurfaceClient;
class SoftwareOutputDevice;
+struct LatencyInfo;
// Represents the output surface for a compositor. The compositor owns
// and manages its destruction. Its lifetime is:
@@ -56,6 +57,8 @@ class CC_EXPORT OutputSurface : public WebKit::WebCompositorOutputSurface {
// Sends frame data to the parent compositor. This should only be called when
// capabilities().has_parent_compositor.
virtual void SendFrameToParentCompositor(const CompositorFrame&) {}
+
+ virtual void SetLatencyInfo(const LatencyInfo&) {}
};
} // namespace cc
« no previous file with comments | « cc/layer_tree_host_unittest_scroll.cc ('k') | cc/output_surface_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698