blob: 1423eb089b6437bee4f3e2ab52fddf395ce1f633 [file] [log] [blame]
samans345632b2017-01-31 18:34:081// Copyright 2017 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
5module cc.mojom;
6
samans4b0ea822017-02-16 19:51:547import "cc/ipc/copy_output_result.mojom";
samans345632b2017-01-31 18:34:088import "cc/ipc/texture_mailbox.mojom";
9import "mojo/common/unguessable_token.mojom";
10import "ui/gfx/geometry/mojo/geometry.mojom";
11
12// See cc/output/copy_output_request.h.
samans345632b2017-01-31 18:34:0813struct CopyOutputRequest {
14 mojo.common.mojom.UnguessableToken? source;
15 bool force_bitmap_result;
16 gfx.mojom.Rect? area;
samans4b0ea822017-02-16 19:51:5417 TextureMailbox? texture_mailbox;
18 CopyOutputResultSender result_sender;
19};
20
21// When the display compositor is ready to respond to the CopyOutputRequest,
22// it uses this interface to send back the result.
23interface CopyOutputResultSender {
24 SendResult(CopyOutputResult result);
samans345632b2017-01-31 18:34:0825};