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

Unified Diff: webkit/compositor_bindings/web_latency_info_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_latency_info_impl.h
diff --git a/webkit/compositor_bindings/web_latency_info_impl.h b/webkit/compositor_bindings/web_latency_info_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..e35e75b02859930fa07f7ed2e5bfa5a09bd1d054
--- /dev/null
+++ b/webkit/compositor_bindings/web_latency_info_impl.h
@@ -0,0 +1,34 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WEB_LATENCY_INFO_IMPL_H_
+#define WEB_LATENCY_INFO_IMPL_H_
+
+#include "base/time.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebLatencyInfo.h"
+
+namespace WebKit {
+
+struct WebLatencyInfoImpl : public WebLatencyInfo {
+ int64 inputNumber;
+ int64 rendererMainFrameNumber;
+ int64 rendererImplFrameNumber;
+ int64 browserMainFrameNumber;
+ int64 browserImplFrameNumber;
+
+ base::TimeTicks swapTimestamp;
+
+ WebLatencyInfoImpl()
+ : inputNumber(0)
+ , rendererMainFrameNumber(0)
+ , rendererImplFrameNumber(0)
+ , browserMainFrameNumber(0)
+ , browserImplFrameNumber(0)
+ {
+ }
+};
+
+} // namespace WebKit
+
+#endif // WEB_LATENCY_INFO_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698