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

Side by Side Diff: cc/output/begin_frame_args.cc

Issue 416273005: cc/output: cleanup: Remove unnecessary #includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | cc/output/compositor_frame_metadata.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/json/json_writer.h"
6 #include "cc/output/begin_frame_args.h" 5 #include "cc/output/begin_frame_args.h"
7 #include "ui/gfx/frame_time.h" 6 #include "ui/gfx/frame_time.h"
8 7
9 namespace cc { 8 namespace cc {
10 9
11 BeginFrameArgs::BeginFrameArgs() 10 BeginFrameArgs::BeginFrameArgs()
12 : frame_time(base::TimeTicks()), 11 : frame_time(base::TimeTicks()),
13 deadline(base::TimeTicks()), 12 deadline(base::TimeTicks()),
14 interval(base::TimeDelta::FromMicroseconds(-1)) { 13 interval(base::TimeDelta::FromMicroseconds(-1)) {
15 } 14 }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 57
59 base::TimeDelta BeginFrameArgs::DefaultInterval() { 58 base::TimeDelta BeginFrameArgs::DefaultInterval() {
60 return base::TimeDelta::FromMicroseconds(16666); 59 return base::TimeDelta::FromMicroseconds(16666);
61 } 60 }
62 61
63 base::TimeDelta BeginFrameArgs::DefaultRetroactiveBeginFramePeriod() { 62 base::TimeDelta BeginFrameArgs::DefaultRetroactiveBeginFramePeriod() {
64 return base::TimeDelta::FromMicroseconds(4444); 63 return base::TimeDelta::FromMicroseconds(4444);
65 } 64 }
66 65
67 } // namespace cc 66 } // namespace cc
OLDNEW
« no previous file with comments | « no previous file | cc/output/compositor_frame_metadata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698