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

Side by Side Diff: webkit/renderer/compositor_bindings/webkit_time.h

Issue 192433002: Creating utility for converting TimeTicks to WebKit double and use it in the Chrome compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reworking webkit_time, adding other users. Created 6 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEBKIT_TIME_H_
6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEBKIT_TIME_H_
7
8 #include "base/time/time.h"
9 #include "webkit/renderer/compositor_bindings/webkit_compositor_bindings_export. h"
10
11 namespace webkit {
12
13 base::TimeTicks WEBKIT_COMPOSITOR_BINDINGS_EXPORT
14 FromWebKitMonotonicTime(double monotonic_time);
15 double WEBKIT_COMPOSITOR_BINDINGS_EXPORT
16 ToWebKitMonotonicTime(base::TimeTicks monotonic_time);
17
18 } // namespace webkit
19
20 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEBKIT_TIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698