mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-25 06:46:09 +03:00
33 lines
778 B
Plaintext
33 lines
778 B
Plaintext
|
// 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 viz.mojom;
|
||
|
|
||
|
import "mojo/common/time.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;
|
||
|
uint64 source_id;
|
||
|
uint64 sequence_number;
|
||
|
BeginFrameArgsType type;
|
||
|
bool on_critical_path;
|
||
|
};
|
||
|
|
||
|
// See cc/output/begin_frame_args.h.
|
||
|
struct BeginFrameAck {
|
||
|
uint64 source_id;
|
||
|
uint64 sequence_number;
|
||
|
// |has_damage| is implicit through IPC message name, so not transmitted.
|
||
|
};
|