| 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 "services/ui/public/interfaces/cursor.mojom"; | 7 import "services/ui/public/interfaces/cursor.mojom"; |
| 8 import "services/ui/public/interfaces/display/display.mojom"; | 8 import "services/ui/public/interfaces/display/display.mojom"; |
| 9 import "services/ui/public/interfaces/event_matcher.mojom"; | 9 import "services/ui/public/interfaces/event_matcher.mojom"; |
| 10 import "services/ui/public/interfaces/window_manager_constants.mojom"; | 10 import "services/ui/public/interfaces/window_manager_constants.mojom"; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 const string kAppID_Property = "prop:app-id"; | 83 const string kAppID_Property = "prop:app-id"; |
| 84 | 84 |
| 85 // Used to explicitly control whether a window appears in the most recently | 85 // Used to explicitly control whether a window appears in the most recently |
| 86 // used list of windows. Maps to aura::client::kExcludeFromMruKey. Type: bool. | 86 // used list of windows. Maps to aura::client::kExcludeFromMruKey. Type: bool. |
| 87 const string kExcludeFromMru_Property = "prop:exclude_from_mru"; | 87 const string kExcludeFromMru_Property = "prop:exclude_from_mru"; |
| 88 | 88 |
| 89 // Internal window name. Useful for debugging. Maps to aura::client::kNameKey. | 89 // Internal window name. Useful for debugging. Maps to aura::client::kNameKey. |
| 90 // Type: mojom::String | 90 // Type: mojom::String |
| 91 const string kName_Property = "prop:name"; | 91 const string kName_Property = "prop:name"; |
| 92 | 92 |
| 93 // If true (and the window is a panel), it's attached to its shelf item. |
| 94 const string kPanelAttached_Property = "prop:panel-attached"; |
| 95 |
| 93 // The window's preferred size as defined by its content. Maps to | 96 // The window's preferred size as defined by its content. Maps to |
| 94 // aura::client::kPreferredSize_Property. Type: gfx::Size. | 97 // aura::client::kPreferredSize_Property. Type: gfx::Size. |
| 95 const string kPreferredSize_Property = "prop:preferred-size"; | 98 const string kPreferredSize_Property = "prop:preferred-size"; |
| 96 | 99 |
| 97 // If true the window manager renders the title area (including frame | 100 // If true the window manager renders the title area (including frame |
| 98 // decorations) of the parent window in this window. This is only checked | 101 // decorations) of the parent window in this window. This is only checked |
| 99 // at the time the window is added to its parent, which must be a top level | 102 // at the time the window is added to its parent, which must be a top level |
| 100 // window (created by way of WindowTree::NewTopLevelWindow()). This is not | 103 // window (created by way of WindowTree::NewTopLevelWindow()). This is not |
| 101 // mapped by default, it's up to the window manager (such as ash) to decide | 104 // mapped by default, it's up to the window manager (such as ash) to decide |
| 102 // how to handle this. Type: bool. | 105 // how to handle this. Type: bool. |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); | 245 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); |
| 243 | 246 |
| 244 // Response from WmCreateTopLevelWindow() informing the client of the id for | 247 // Response from WmCreateTopLevelWindow() informing the client of the id for |
| 245 // the new window. | 248 // the new window. |
| 246 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); | 249 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); |
| 247 | 250 |
| 248 // See description in WindowManager::OnAccelerator(). |ack_id| is the value | 251 // See description in WindowManager::OnAccelerator(). |ack_id| is the value |
| 249 // that was passed to OnAccelerator(). | 252 // that was passed to OnAccelerator(). |
| 250 OnAcceleratorAck(uint32 ack_id, EventResult event_result); | 253 OnAcceleratorAck(uint32 ack_id, EventResult event_result); |
| 251 }; | 254 }; |
| OLD | NEW |