| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 import "mojo/services/public/interfaces/geometry/geometry.mojom" | 5 import "mojo/services/public/interfaces/geometry/geometry.mojom" |
| 6 import "mojo/services/public/interfaces/input_events/input_events.mojom" | 6 import "mojo/services/public/interfaces/input_events/input_events.mojom" |
| 7 import "mojo/services/public/interfaces/view_manager/view_manager_constants.mojo
m" | 7 import "mojo/services/public/interfaces/view_manager/view_manager_constants.mojo
m" |
| 8 | 8 |
| 9 module mojo.view_manager { | 9 module mojo { |
| 10 | 10 |
| 11 struct NodeData { | 11 struct NodeData { |
| 12 uint32 parent_id; | 12 uint32 parent_id; |
| 13 uint32 node_id; | 13 uint32 node_id; |
| 14 uint32 view_id; | 14 uint32 view_id; |
| 15 mojo.Rect bounds; | 15 mojo.Rect bounds; |
| 16 // TODO(sky): add visible. | 16 // TODO(sky): add visible. |
| 17 }; | 17 }; |
| 18 | 18 |
| 19 enum ErrorCode { | 19 enum ErrorCode { |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 // once support for derived FIFOs is landed. | 214 // once support for derived FIFOs is landed. |
| 215 | 215 |
| 216 // Requests the window manager create a "top level" node embedding |url|. | 216 // Requests the window manager create a "top level" node embedding |url|. |
| 217 Embed(string url); | 217 Embed(string url); |
| 218 | 218 |
| 219 // Requests the view manager dispatch the event targeted at |view|. | 219 // Requests the view manager dispatch the event targeted at |view|. |
| 220 DispatchOnViewInputEvent(uint32 view, mojo.Event event); | 220 DispatchOnViewInputEvent(uint32 view, mojo.Event event); |
| 221 }; | 221 }; |
| 222 | 222 |
| 223 } | 223 } |
| OLD | NEW |