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

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

Issue 1953183002: Support the ignored_by_shelf flag for Mus windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix deps and limit mus to MOJO_SHELL_CLIENT. Created 4 years, 7 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/mus/public/cpp/property_type_converters.h ('k') | mash/wm/property_util.h » ('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 mus.mojom; 5 module mus.mojom;
6 6
7 import "components/mus/public/interfaces/event_matcher.mojom"; 7 import "components/mus/public/interfaces/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 22 matching lines...) Expand all
33 // The window's show state. Type: ShowState. 33 // The window's show state. Type: ShowState.
34 const string kShowState_Property = "prop:show-state"; 34 const string kShowState_Property = "prop:show-state";
35 // The window bounds as set by user input. Type: gfx::Rect. 35 // The window bounds as set by user input. Type: gfx::Rect.
36 const string kUserSetBounds_Property = "prop:user-set-bounds"; 36 const string kUserSetBounds_Property = "prop:user-set-bounds";
37 // The window's app icon. Type: SkBitmap 37 // The window's app icon. Type: SkBitmap
38 const string kWindowAppIcon_Property = "prop:window-app-icon"; 38 const string kWindowAppIcon_Property = "prop:window-app-icon";
39 // The window type. Type: mojom::WindowType 39 // The window type. Type: mojom::WindowType
40 const string kWindowType_Property = "prop:window-type"; 40 const string kWindowType_Property = "prop:window-type";
41 // The window's title. Type: mojom::String 41 // The window's title. Type: mojom::String
42 const string kWindowTitle_Property = "prop:window-title"; 42 const string kWindowTitle_Property = "prop:window-title";
43 // A flag controlling the window's presence on the mash shelf. Type: bool
44 const string kWindowIgnoredByShelf_Property = "prop:window-ignored-by-shelf";
43 // The application ID (eg. 'mojo:foo'). Type: mojom::String 45 // The application ID (eg. 'mojo:foo'). Type: mojom::String
44 const string kAppID_Property = "prop:app-id"; 46 const string kAppID_Property = "prop:app-id";
45 47
46 // When the WindowManager completes a request it must call back to 48 // When the WindowManager completes a request it must call back to
47 // WindowManagerClient::WmResponse(). 49 // WindowManagerClient::WmResponse().
48 WmSetBounds(uint32 change_id, uint32 window_id, mojo.Rect bounds); 50 WmSetBounds(uint32 change_id, uint32 window_id, mojo.Rect bounds);
49 WmSetProperty(uint32 change_id, 51 WmSetProperty(uint32 change_id,
50 uint32 window_id, 52 uint32 window_id,
51 string name, 53 string name,
52 array<uint8>? value); 54 array<uint8>? value);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 WmRequestClose(uint32 window_id); 94 WmRequestClose(uint32 window_id);
93 95
94 // Sets the frame decoration constants of the display the window manager is 96 // Sets the frame decoration constants of the display the window manager is
95 // associated with. 97 // associated with.
96 WmSetFrameDecorationValues(FrameDecorationValues values); 98 WmSetFrameDecorationValues(FrameDecorationValues values);
97 99
98 // Response from WmCreateTopLevelWindow() informing the client of the id for 100 // Response from WmCreateTopLevelWindow() informing the client of the id for
99 // the new window. 101 // the new window.
100 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 102 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
101 }; 103 };
OLDNEW
« no previous file with comments | « components/mus/public/cpp/property_type_converters.h ('k') | mash/wm/property_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698