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

Unified Diff: cc/ipc/begin_frame_args.mojom

Issue 2021173002: Implement cc::BeginFrameArgs StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/ipc/BUILD.gn ('k') | cc/ipc/begin_frame_args.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/begin_frame_args.mojom
diff --git a/cc/ipc/begin_frame_args.mojom b/cc/ipc/begin_frame_args.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..b0b784a445ec35ec5b93117b6234c220c126709b
--- /dev/null
+++ b/cc/ipc/begin_frame_args.mojom
@@ -0,0 +1,23 @@
+// Copyright 2016 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.
+
+module cc.mojom;
+
+import "mojo/common/common_custom_types.mojom";
+
+enum BeginFrameArgsType {
+ INVALID,
+ NORMAL,
+ MISSED,
+ BEGIN_FRAME_ARGS_TYPE_MAX
+};
+
+// See cc/output/begin_frame_args.h.
+struct BeginFrameArgs {
+ mojo.common.mojom.TimeTicks frame_time;
+ mojo.common.mojom.TimeTicks deadline;
+ mojo.common.mojom.TimeDelta interval;
+ BeginFrameArgsType type;
+ bool on_critical_path;
+};
« no previous file with comments | « cc/ipc/BUILD.gn ('k') | cc/ipc/begin_frame_args.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698