Chromium Code Reviews| Index: cc/ipc/copy_output_request.mojom |
| diff --git a/cc/ipc/copy_output_request.mojom b/cc/ipc/copy_output_request.mojom |
| index c6ff8becf5694be7bc0c03d82d9aa1754712c99a..1423eb089b6437bee4f3e2ab52fddf395ce1f633 100644 |
| --- a/cc/ipc/copy_output_request.mojom |
| +++ b/cc/ipc/copy_output_request.mojom |
| @@ -4,15 +4,22 @@ |
| module cc.mojom; |
| +import "cc/ipc/copy_output_result.mojom"; |
| import "cc/ipc/texture_mailbox.mojom"; |
| import "mojo/common/unguessable_token.mojom"; |
| import "ui/gfx/geometry/mojo/geometry.mojom"; |
| // See cc/output/copy_output_request.h. |
| -// Note: result_callback_ is not included in this struct. |
| struct CopyOutputRequest { |
| mojo.common.mojom.UnguessableToken? source; |
| bool force_bitmap_result; |
| gfx.mojom.Rect? area; |
|
danakj
2017/02/15 17:19:57
btw Rect has no IsNull either
Saman Sami
2017/02/15 17:36:50
We are using base::Optional<gfx::Rect> in CopyOutp
danakj
2017/02/15 17:41:59
Hm, I mean to say that the ? here isn't doing anyt
Saman Sami
2017/02/15 17:51:42
Since base::Optional<gfx::Rect> is nullable, it do
danakj
2017/02/15 17:53:17
I guess I still don't understand mojo nullable at
Saman Sami
2017/02/15 17:59:41
If CopyOutputRequest had a gfx::Rect there would b
|
| - cc.mojom.TextureMailbox? texture_mailbox; |
| + TextureMailbox? texture_mailbox; |
| + CopyOutputResultSender result_sender; |
| +}; |
| + |
| +// When the display compositor is ready to respond to the CopyOutputRequest, |
| +// it uses this interface to send back the result. |
| +interface CopyOutputResultSender { |
| + SendResult(CopyOutputResult result); |
| }; |