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

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: added unit tests 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 14 matching lines...) Expand all
25 // The window's resize behavior. Type: ResizeBehavior. 25 // The window's resize behavior. Type: ResizeBehavior.
26 const string kResizeBehavior_Property = "prop:resize-behavior"; 26 const string kResizeBehavior_Property = "prop:resize-behavior";
27 // Bounds the window is restored to. Type: gfx::Rect. 27 // Bounds the window is restored to. Type: gfx::Rect.
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 // The window's app icon. Type: SkBitmap
36 const string kWindowAppIcon_Property = "prop:window-app-icon";
37 // The window type. Type: mojom::WindowType
35 const string kWindowType_Property = "prop:window-type"; 38 const string kWindowType_Property = "prop:window-type";
36 // The window's title. Type: mojom::String 39 // The window's title. Type: mojom::String
37 const string kWindowTitle_Property = "prop:window-title"; 40 const string kWindowTitle_Property = "prop:window-title";
38 41
39 // When the WindowManager completes a request it must call back to 42 // When the WindowManager completes a request it must call back to
40 // WindowManagerClient::WmResponse(). 43 // WindowManagerClient::WmResponse().
41 WmSetBounds(uint32 change_id, uint32 window_id, mojo.Rect bounds); 44 WmSetBounds(uint32 change_id, uint32 window_id, mojo.Rect bounds);
42 WmSetProperty(uint32 change_id, 45 WmSetProperty(uint32 change_id,
43 uint32 window_id, 46 uint32 window_id,
44 string name, 47 string name,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 WmRequestClose(uint32 window_id); 88 WmRequestClose(uint32 window_id);
86 89
87 // Sets the frame decoration constants of the display the window manager is 90 // Sets the frame decoration constants of the display the window manager is
88 // associated with. 91 // associated with.
89 WmSetFrameDecorationValues(FrameDecorationValues values); 92 WmSetFrameDecorationValues(FrameDecorationValues values);
90 93
91 // Response from WmCreateTopLevelWindow() informing the client of the id for 94 // Response from WmCreateTopLevelWindow() informing the client of the id for
92 // the new window. 95 // the new window.
93 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 96 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
94 }; 97 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698