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

Side by Side Diff: components/mus/public/interfaces/window_manager.mojom

Issue 1824183002: Mash: Show app icons in shelf based on the Widget's app icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: //ui/resources Created 4 years, 9 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
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 mus.mojom; 5 module mus.mojom;
6 6
7 import "components/mus/public/interfaces/input_event_matcher.mojom"; 7 import "components/mus/public/interfaces/input_event_matcher.mojom";
8 import "components/mus/public/interfaces/input_events.mojom"; 8 import "components/mus/public/interfaces/input_events.mojom";
9 import "components/mus/public/interfaces/window_manager_constants.mojom"; 9 import "components/mus/public/interfaces/window_manager_constants.mojom";
10 import "ui/mojo/geometry/geometry.mojom"; 10 import "ui/mojo/geometry/geometry.mojom";
(...skipping 17 matching lines...) Expand all
28 const string kRestoreBounds_Property = "prop:restore-bounds"; 28 const string kRestoreBounds_Property = "prop:restore-bounds";
29 // Shadow style for the window. Type: mojom::ShadowStyle. 29 // Shadow style for the window. Type: mojom::ShadowStyle.
30 const string kShadowStyle_Property = "prop:shadow-style"; 30 const string kShadowStyle_Property = "prop:shadow-style";
31 // The window's show state. Type: ShowState. 31 // The window's show state. Type: ShowState.
32 const string kShowState_Property = "prop:show-state"; 32 const string kShowState_Property = "prop:show-state";
33 // The window bounds as set by user input. Type: gfx::Rect. 33 // The window bounds as set by user input. Type: gfx::Rect.
34 const string kUserSetBounds_Property = "prop:user-set-bounds"; 34 const string kUserSetBounds_Property = "prop:user-set-bounds";
35 const string kWindowType_Property = "prop:window-type"; 35 const string kWindowType_Property = "prop:window-type";
36 // The window's title. Type: mojom::String 36 // The window's title. Type: mojom::String
37 const string kWindowTitle_Property = "prop:window-title"; 37 const string kWindowTitle_Property = "prop:window-title";
38 // The window's app icon. Type: SkBitmap
39 const string kWindowAppIcon_Property = "prop:window-app-icon";
sky 2016/03/23 23:30:40 nit: keep sorted.
James Cook 2016/03/25 15:39:28 Done, and documented the type of kWindowType_Prope
38 40
39 // When the WindowManager completes a request it must call back to 41 // When the WindowManager completes a request it must call back to
40 // WindowManagerClient::WmResponse(). 42 // WindowManagerClient::WmResponse().
41 WmSetBounds(uint32 change_id, uint32 window_id, mojo.Rect bounds); 43 WmSetBounds(uint32 change_id, uint32 window_id, mojo.Rect bounds);
42 WmSetProperty(uint32 change_id, 44 WmSetProperty(uint32 change_id,
43 uint32 window_id, 45 uint32 window_id,
44 string name, 46 string name,
45 array<uint8>? value); 47 array<uint8>? value);
46 // Asks the WindowManager to create a new window. 48 // Asks the WindowManager to create a new window.
47 WmCreateTopLevelWindow(uint32 change_id, 49 WmCreateTopLevelWindow(uint32 change_id,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 WmRequestClose(uint32 window_id); 87 WmRequestClose(uint32 window_id);
86 88
87 // Sets the frame decoration constants of the display the window manager is 89 // Sets the frame decoration constants of the display the window manager is
88 // associated with. 90 // associated with.
89 WmSetFrameDecorationValues(FrameDecorationValues values); 91 WmSetFrameDecorationValues(FrameDecorationValues values);
90 92
91 // Response from WmCreateTopLevelWindow() informing the client of the id for 93 // Response from WmCreateTopLevelWindow() informing the client of the id for
92 // the new window. 94 // the new window.
93 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 95 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
94 }; 96 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698