Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module cc.mojom; | 5 module cc.mojom; |
| 6 | 6 |
| 7 import "cc/ipc/texture_mailbox.mojom"; | 7 import "cc/ipc/texture_mailbox.mojom"; |
| 8 import "cc/ipc/texture_mailbox_releaser.mojom"; | |
| 8 import "skia/public/interfaces/bitmap.mojom"; | 9 import "skia/public/interfaces/bitmap.mojom"; |
| 9 import "ui/gfx/geometry/mojo/geometry.mojom"; | 10 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 10 | 11 |
| 11 // See cc/output/copy_output_result.h. | 12 // See cc/output/copy_output_result.h. |
| 12 struct CopyOutputResult { | 13 struct CopyOutputResult { |
| 13 gfx.mojom.Size size; | 14 gfx.mojom.Size size; |
| 14 skia.mojom.Bitmap? bitmap; | 15 skia.mojom.Bitmap? bitmap; |
| 15 cc.mojom.TextureMailbox texture_mailbox; | 16 TextureMailbox texture_mailbox; |
| 17 TextureMailboxReleaser? releaser; | |
|
danakj
2017/02/10 18:32:50
If this is optional, TextureMailbox should be too,
Ken Rockot(use gerrit already)
2017/02/10 18:56:18
The way to express this would be to group them:
s
| |
| 16 }; | 18 }; |
| OLD | NEW |