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

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

Issue 2357143004: mash: Support ShelfWindowWatcher via ShelfItem properties. (Closed)
Patch Set: Address comments. Created 4 years, 2 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 | « chrome/browser/ui/views/task_manager_view.cc ('k') | no next file » | 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/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 30 matching lines...) Expand all
41 // at the time the window is added to its parent, which must be a top level 41 // at the time the window is added to its parent, which must be a top level
42 // window (created by way of WindowTree::NewTopLevelWindow()). Type: bool. 42 // window (created by way of WindowTree::NewTopLevelWindow()). Type: bool.
43 const string kRendererParentTitleArea_Property = 43 const string kRendererParentTitleArea_Property =
44 "render-parent-non-client-area"; 44 "render-parent-non-client-area";
45 // The window's resize behavior. Type: ResizeBehavior. 45 // The window's resize behavior. Type: ResizeBehavior.
46 const string kResizeBehavior_Property = "prop:resize-behavior"; 46 const string kResizeBehavior_Property = "prop:resize-behavior";
47 // Bounds the window is restored to. Type: gfx::Rect. 47 // Bounds the window is restored to. Type: gfx::Rect.
48 const string kRestoreBounds_Property = "prop:restore-bounds"; 48 const string kRestoreBounds_Property = "prop:restore-bounds";
49 // Shadow style for the window. Type: mojom::ShadowStyle. 49 // Shadow style for the window. Type: mojom::ShadowStyle.
50 const string kShadowStyle_Property = "prop:shadow-style"; 50 const string kShadowStyle_Property = "prop:shadow-style";
51 // The image resource ID to be used as the shelf item's icon. Type: int
52 const string kShelfIconResourceId_Property = "prop:shelf-icon-resource-id";
53 // The type of item to be shown on the shelf for this window. Type: int
54 // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item.
55 const string kShelfItemType_Property = "prop:shelf-item-type";
51 // The window's show state. Type: ShowState. 56 // The window's show state. Type: ShowState.
52 const string kShowState_Property = "prop:show-state"; 57 const string kShowState_Property = "prop:show-state";
53 // The window bounds as set by user input. Type: gfx::Rect. 58 // The window bounds as set by user input. Type: gfx::Rect.
54 const string kUserSetBounds_Property = "prop:user-set-bounds"; 59 const string kUserSetBounds_Property = "prop:user-set-bounds";
55 // The window's app icon. Type: SkBitmap 60 // The window's app icon. Type: SkBitmap
56 const string kWindowAppIcon_Property = "prop:window-app-icon"; 61 const string kWindowAppIcon_Property = "prop:window-app-icon";
57 // The window type. Type: mojom::WindowType 62 // The window type. Type: mojom::WindowType
58 const string kWindowType_Property = "prop:window-type"; 63 const string kWindowType_Property = "prop:window-type";
59 // The window's title. Type: mojom::String 64 // The window's title. Type: mojom::String
60 const string kWindowTitle_Property = "prop:window-title"; 65 const string kWindowTitle_Property = "prop:window-title";
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); 166 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id);
162 167
163 // Response from WmCreateTopLevelWindow() informing the client of the id for 168 // Response from WmCreateTopLevelWindow() informing the client of the id for
164 // the new window. 169 // the new window.
165 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 170 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
166 171
167 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 172 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
168 // that was passed to OnAccelerator(). 173 // that was passed to OnAccelerator().
169 OnAcceleratorAck(uint32 ack_id, EventResult event_result); 174 OnAcceleratorAck(uint32 ack_id, EventResult event_result);
170 }; 175 };
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698