| 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_
|
|
|