Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Side by Side Diff: services/ui/public/interfaces/window_manager.mojom

Issue 2694213003: mash: wires up shadows for mash (Closed)
Patch Set: defaults test Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/exo/shell_surface_unittest.cc ('k') | services/ui/ws/window_manager_state.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/event_matcher.mojom"; 8 import "services/ui/public/interfaces/event_matcher.mojom";
9 import "services/ui/public/interfaces/window_manager_constants.mojom"; 9 import "services/ui/public/interfaces/window_manager_constants.mojom";
10 import "services/ui/public/interfaces/window_tree_constants.mojom"; 10 import "services/ui/public/interfaces/window_tree_constants.mojom";
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 "render-parent-non-client-area"; 114 "render-parent-non-client-area";
115 115
116 // The window's resize behavior. Maps to aura::client::kResizeBehaviorKey. 116 // The window's resize behavior. Maps to aura::client::kResizeBehaviorKey.
117 // Type: ResizeBehavior. 117 // Type: ResizeBehavior.
118 const string kResizeBehavior_Property = "prop:resize-behavior"; 118 const string kResizeBehavior_Property = "prop:resize-behavior";
119 119
120 // Bounds the window is restored to. Maps to client::kRestoreBoundsKey. 120 // Bounds the window is restored to. Maps to client::kRestoreBoundsKey.
121 // Type: gfx::Rect. 121 // Type: gfx::Rect.
122 const string kRestoreBounds_Property = "prop:restore-bounds"; 122 const string kRestoreBounds_Property = "prop:restore-bounds";
123 123
124 // See ShadowElevation for details. Type: wm::ShadowElevation.
125 const string kShadowElevation_Property = "prop:shadow-elevation";
126
124 // The type of item to be shown on the shelf for this window. Type: int 127 // The type of item to be shown on the shelf for this window. Type: int
125 // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item. 128 // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item.
126 const string kShelfItemType_Property = "prop:shelf-item-type"; 129 const string kShelfItemType_Property = "prop:shelf-item-type";
127 130
128 // The window's show state. Maps to aura::client::kShowStateKey. 131 // The window's show state. Maps to aura::client::kShowStateKey.
129 // Type: ShowState. 132 // Type: ShowState.
130 const string kShowState_Property = "prop:show-state"; 133 const string kShowState_Property = "prop:show-state";
131 134
132 // The window icon; typically 16x16 for titlebars. Type: SkBitmap 135 // The window icon; typically 16x16 for titlebars. Type: SkBitmap
133 const string kWindowIcon_Property = "prop:window-icon"; 136 const string kWindowIcon_Property = "prop:window-icon";
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); 263 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id);
261 264
262 // Response from WmCreateTopLevelWindow() informing the client of the id for 265 // Response from WmCreateTopLevelWindow() informing the client of the id for
263 // the new window. 266 // the new window.
264 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 267 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
265 268
266 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 269 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
267 // that was passed to OnAccelerator(). 270 // that was passed to OnAccelerator().
268 OnAcceleratorAck(uint32 ack_id, EventResult event_result); 271 OnAcceleratorAck(uint32 ack_id, EventResult event_result);
269 }; 272 };
OLDNEW
« no previous file with comments | « components/exo/shell_surface_unittest.cc ('k') | services/ui/ws/window_manager_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698