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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 const string kRendererParentTitleArea_Property = | 46 const string kRendererParentTitleArea_Property = |
47 "render-parent-non-client-area"; | 47 "render-parent-non-client-area"; |
48 // The window's resize behavior. Type: ResizeBehavior. | 48 // The window's resize behavior. Type: ResizeBehavior. |
49 const string kResizeBehavior_Property = "prop:resize-behavior"; | 49 const string kResizeBehavior_Property = "prop:resize-behavior"; |
50 // Bounds the window is restored to. Type: gfx::Rect. | 50 // Bounds the window is restored to. Type: gfx::Rect. |
51 const string kRestoreBounds_Property = "prop:restore-bounds"; | 51 const string kRestoreBounds_Property = "prop:restore-bounds"; |
52 // Shadow style for the window. Type: mojom::ShadowStyle. | 52 // Shadow style for the window. Type: mojom::ShadowStyle. |
53 const string kShadowStyle_Property = "prop:shadow-style"; | 53 const string kShadowStyle_Property = "prop:shadow-style"; |
54 // The image resource ID to be used as the shelf item's icon. Type: int | 54 // The image resource ID to be used as the shelf item's icon. Type: int |
55 const string kShelfIconResourceId_Property = "prop:shelf-icon-resource-id"; | 55 const string kShelfIconResourceId_Property = "prop:shelf-icon-resource-id"; |
| 56 // The ID of the shelf item corresponding to this window. Type: int |
| 57 const string kShelfId_Property = "prop:shelf-id"; |
56 // The type of item to be shown on the shelf for this window. Type: int | 58 // The type of item to be shown on the shelf for this window. Type: int |
57 // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item. | 59 // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item. |
58 const string kShelfItemType_Property = "prop:shelf-item-type"; | 60 const string kShelfItemType_Property = "prop:shelf-item-type"; |
59 // The window's show state. Type: ShowState. | 61 // The window's show state. Type: ShowState. |
60 const string kShowState_Property = "prop:show-state"; | 62 const string kShowState_Property = "prop:show-state"; |
61 // The window bounds as set by user input. Type: gfx::Rect. | 63 // The window bounds as set by user input. Type: gfx::Rect. |
62 const string kUserSetBounds_Property = "prop:user-set-bounds"; | 64 const string kUserSetBounds_Property = "prop:user-set-bounds"; |
63 // The window's app icon. Type: SkBitmap | 65 // The window's app icon. Type: SkBitmap |
64 const string kWindowAppIcon_Property = "prop:window-app-icon"; | 66 const string kWindowAppIcon_Property = "prop:window-app-icon"; |
65 // The window type. Type: mojom::WindowType | 67 // The window type. Type: mojom::WindowType |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); | 171 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); |
170 | 172 |
171 // Response from WmCreateTopLevelWindow() informing the client of the id for | 173 // Response from WmCreateTopLevelWindow() informing the client of the id for |
172 // the new window. | 174 // the new window. |
173 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); | 175 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); |
174 | 176 |
175 // See description in WindowManager::OnAccelerator(). |ack_id| is the value | 177 // See description in WindowManager::OnAccelerator(). |ack_id| is the value |
176 // that was passed to OnAccelerator(). | 178 // that was passed to OnAccelerator(). |
177 OnAcceleratorAck(uint32 ack_id, EventResult event_result); | 179 OnAcceleratorAck(uint32 ack_id, EventResult event_result); |
178 }; | 180 }; |
OLD | NEW |