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

Side by Side Diff: public/web/WebBeginFrameArgs.h

Issue 321373003: Changing animate to beginFrame and use struct rather than naked double to allow extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding another FIXME comment. Created 6 years, 5 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
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | public/web/WebWidget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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 WebBeginFrameArgs_h
6 #define WebBeginFrameArgs_h
7
8 namespace blink {
9
10 struct WebBeginFrameArgs {
11 WebBeginFrameArgs(double lastFrameTimeMonotonic)
12 : lastFrameTimeMonotonic(lastFrameTimeMonotonic)
13 { }
14
15 // FIXME: Upgrade the time in CLOCK_MONOTONIC values to use a TimeTick like
16 // class rather than a bare double.
17
18 // FIXME: Extend this class to include the fields from Chrome
19 // BeginFrameArgs structure.
20
21 // Time in CLOCK_MONOTONIC that is the most recent vsync time.
22 double lastFrameTimeMonotonic;
23 };
24
25 } // namespace blink
26
27 #endif
OLDNEW
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | public/web/WebWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698