| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 mus.mojom; | 5 module mus.mojom; |
| 6 | 6 |
| 7 import "ui/gfx/geometry/mojo/geometry.mojom"; | 7 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 8 | 8 |
| 9 // Contains state of a single window. | 9 // Contains state of a single window. |
| 10 struct WindowData { | 10 struct WindowData { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 // When this flag is set in a call to Embed(), the embedder (i.e. the client | 50 // When this flag is set in a call to Embed(), the embedder (i.e. the client |
| 51 // that is making the call to Embed()) will receive events that are targeted to | 51 // that is making the call to Embed()) will receive events that are targeted to |
| 52 // the embedded client. The embedded client will not receive any input events | 52 // the embedded client. The embedded client will not receive any input events |
| 53 // from the window server. However, the embedder can choose to dispatch events | 53 // from the window server. However, the embedder can choose to dispatch events |
| 54 // to the embedded client through other mechanism. | 54 // to the embedded client through other mechanism. |
| 55 // TODO(sad): Provide an API in mus for the embedder to dispatch events to the | 55 // TODO(sad): Provide an API in mus for the embedder to dispatch events to the |
| 56 // embedded client. https://crbug.com/621085 | 56 // embedded client. https://crbug.com/621085 |
| 57 const uint32 kEmbedFlagEmbedderInterceptsEvents = 0x01; | 57 const uint32 kEmbedFlagEmbedderInterceptsEvents = 0x01; |
| OLD | NEW |