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

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

Issue 1899323002: Add mash shelf application id support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address simpler comments. Created 4 years, 8 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/window_property.h ('k') | content/browser/browser_main_loop.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 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 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 // The application ID (eg. 'mojo:foo'). Type: mojom::String
44 const string kAppID_Property = "prop:app-id";
43 45
44 // When the WindowManager completes a request it must call back to 46 // When the WindowManager completes a request it must call back to
45 // WindowManagerClient::WmResponse(). 47 // WindowManagerClient::WmResponse().
46 WmSetBounds(uint32 change_id, uint32 window_id, mojo.Rect bounds); 48 WmSetBounds(uint32 change_id, uint32 window_id, mojo.Rect bounds);
47 WmSetProperty(uint32 change_id, 49 WmSetProperty(uint32 change_id,
48 uint32 window_id, 50 uint32 window_id,
49 string name, 51 string name,
50 array<uint8>? value); 52 array<uint8>? value);
51 // Asks the WindowManager to create a new window. 53 // Asks the WindowManager to create a new window.
52 WmCreateTopLevelWindow(uint32 change_id, 54 WmCreateTopLevelWindow(uint32 change_id,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 WmRequestClose(uint32 window_id); 92 WmRequestClose(uint32 window_id);
91 93
92 // Sets the frame decoration constants of the display the window manager is 94 // Sets the frame decoration constants of the display the window manager is
93 // associated with. 95 // associated with.
94 WmSetFrameDecorationValues(FrameDecorationValues values); 96 WmSetFrameDecorationValues(FrameDecorationValues values);
95 97
96 // Response from WmCreateTopLevelWindow() informing the client of the id for 98 // Response from WmCreateTopLevelWindow() informing the client of the id for
97 // the new window. 99 // the new window.
98 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 100 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
99 }; 101 };
OLDNEW
« no previous file with comments | « components/mus/public/cpp/window_property.h ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698