| 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 media.mojom; | 5 module media.mojom; |
| 6 | 6 |
| 7 import "media/mojo/interfaces/media_types.mojom"; | 7 import "media/mojo/interfaces/media_types.mojom"; |
| 8 import "mojo/common/unguessable_token.mojom"; | 8 import "mojo/common/unguessable_token.mojom"; |
| 9 import "ui/gfx/geometry/mojo/geometry.mojom"; | 9 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 struct AndroidOverlayConfig { | 49 struct AndroidOverlayConfig { |
| 50 // |routing_token| provides the client with an opaque handle that will attach | 50 // |routing_token| provides the client with an opaque handle that will attach |
| 51 // an overlay to a the correct WindowAndroid. Typical usage is that a | 51 // an overlay to a the correct WindowAndroid. Typical usage is that a |
| 52 // RenderFrameHostImpl will provide this token to the RenderFrame. When the | 52 // RenderFrameHostImpl will provide this token to the RenderFrame. When the |
| 53 // overlay is created, the WindowAndroid that currently hosts the render frame | 53 // overlay is created, the WindowAndroid that currently hosts the render frame |
| 54 // will be the parent of the overlay. For legacy reasons, we need this token | 54 // will be the parent of the overlay. For legacy reasons, we need this token |
| 55 // to be sent via IPC, so using the message pipe, or other mojo construct, as | 55 // to be sent via IPC, so using the message pipe, or other mojo construct, as |
| 56 // the identifier won't work yet. | 56 // the identifier won't work yet. |
| 57 mojo.common.mojom.UnguessableToken routing_token; | 57 mojo.common.mojom.UnguessableToken routing_token; |
| 58 | 58 |
| 59 // Initial rectangle. |
| 59 gfx.mojom.Rect rect; | 60 gfx.mojom.Rect rect; |
| 61 |
| 62 // Is a secure overlay required, such as for displaying protected content? |
| 63 bool secure; |
| 60 }; | 64 }; |
| OLD | NEW |