| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 ui.mojom; | 5 module ui.mojom; |
| 6 | 6 |
| 7 import "cc/ipc/frame_sink_id.mojom"; | 7 import "cc/ipc/frame_sink_id.mojom"; |
| 8 import "cc/ipc/local_surface_id.mojom"; | 8 import "cc/ipc/local_surface_id.mojom"; |
| 9 import "services/ui/public/interfaces/cursor/cursor.mojom"; | 9 import "services/ui/public/interfaces/cursor/cursor.mojom"; |
| 10 import "services/ui/public/interfaces/event_matcher.mojom"; | 10 import "services/ui/public/interfaces/event_matcher.mojom"; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // Type: ResizeBehavior. | 123 // Type: ResizeBehavior. |
| 124 const string kResizeBehavior_Property = "prop:resize-behavior"; | 124 const string kResizeBehavior_Property = "prop:resize-behavior"; |
| 125 | 125 |
| 126 // Bounds the window is restored to. Maps to client::kRestoreBoundsKey. | 126 // Bounds the window is restored to. Maps to client::kRestoreBoundsKey. |
| 127 // Type: gfx::Rect. | 127 // Type: gfx::Rect. |
| 128 const string kRestoreBounds_Property = "prop:restore-bounds"; | 128 const string kRestoreBounds_Property = "prop:restore-bounds"; |
| 129 | 129 |
| 130 // See ShadowElevation for details. Type: wm::ShadowElevation. | 130 // See ShadowElevation for details. Type: wm::ShadowElevation. |
| 131 const string kShadowElevation_Property = "prop:shadow-elevation"; | 131 const string kShadowElevation_Property = "prop:shadow-elevation"; |
| 132 | 132 |
| 133 // The shelf ID struct. Maps to ash::kShelfIDKey. Type: ash::ShelfID. | 133 // The serialized shelf id. Maps to ash::kShelfIDKey. Type: mojom::String. |
| 134 const string kShelfID_Property = "prop:shelf-id"; | 134 const string kShelfID_Property = "prop:shelf-id"; |
| 135 | 135 |
| 136 // The type of item to be shown on the shelf for this window. Type: int | 136 // The type of item to be shown on the shelf for this window. Type: int |
| 137 // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item. | 137 // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item. |
| 138 const string kShelfItemType_Property = "prop:shelf-item-type"; | 138 const string kShelfItemType_Property = "prop:shelf-item-type"; |
| 139 | 139 |
| 140 // The window's show state. Maps to aura::client::kShowStateKey. | 140 // The window's show state. Maps to aura::client::kShowStateKey. |
| 141 // Type: ShowState. | 141 // Type: ShowState. |
| 142 const string kShowState_Property = "prop:show-state"; | 142 const string kShowState_Property = "prop:show-state"; |
| 143 | 143 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); | 304 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); |
| 305 | 305 |
| 306 // See description in WindowManager::OnAccelerator(). |ack_id| is the value | 306 // See description in WindowManager::OnAccelerator(). |ack_id| is the value |
| 307 // that was passed to OnAccelerator(). If the accelerator is a pre-target | 307 // that was passed to OnAccelerator(). If the accelerator is a pre-target |
| 308 // handler and |event_result| is UNHANDLED, then |properties| is added to | 308 // handler and |event_result| is UNHANDLED, then |properties| is added to |
| 309 // the KeyEvent that is dispatched to the client with the focused window. | 309 // the KeyEvent that is dispatched to the client with the focused window. |
| 310 OnAcceleratorAck(uint32 ack_id, | 310 OnAcceleratorAck(uint32 ack_id, |
| 311 EventResult event_result, | 311 EventResult event_result, |
| 312 map<string, array<uint8>> properties); | 312 map<string, array<uint8>> properties); |
| 313 }; | 313 }; |
| OLD | NEW |