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

Unified Diff: cc/output/begin_frame_args.h

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « cc/layers/ui_resource_layer_unittest.cc ('k') | cc/output/begin_frame_args.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/begin_frame_args.h
diff --git a/cc/output/begin_frame_args.h b/cc/output/begin_frame_args.h
index c35a5005695faa802e0737e5bc2ba8b9661dd742..0be5241dfea50ea5df9b1da74eb025c9219fb1c8 100644
--- a/cc/output/begin_frame_args.h
+++ b/cc/output/begin_frame_args.h
@@ -26,6 +26,7 @@ struct CC_EXPORT BeginFrameArgs {
SYNCHRONOUS,
MISSED,
};
+ static const char* TypeToString(BeginFrameArgsType type);
// Creates an invalid set of values.
BeginFrameArgs();
@@ -34,13 +35,8 @@ struct CC_EXPORT BeginFrameArgs {
// created by searching for "BeginFrameArgs::Create".
static BeginFrameArgs Create(base::TimeTicks frame_time,
base::TimeTicks deadline,
- base::TimeDelta interval);
- static BeginFrameArgs CreateTyped(base::TimeTicks frame_time,
- base::TimeTicks deadline,
- base::TimeDelta interval,
- BeginFrameArgsType type);
- static BeginFrameArgs CreateForSynchronousCompositor(
- base::TimeTicks now = base::TimeTicks());
+ base::TimeDelta interval,
+ BeginFrameArgsType type);
// This is the default delta that will be used to adjust the deadline when
// proper draw-time estimations are not yet available.
« no previous file with comments | « cc/layers/ui_resource_layer_unittest.cc ('k') | cc/output/begin_frame_args.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698