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

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

Issue 2645673003: Add an aura window property for Immersive fullscreen mode (Closed)
Patch Set: Fix review issues Created 3 years, 10 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 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 const string kAppIcon_Property = "prop:app-icon"; 78 const string kAppIcon_Property = "prop:app-icon";
79 79
80 // The application ID (eg. 'mojo:foo'). Maps to 80 // The application ID (eg. 'mojo:foo'). Maps to
81 // aura::client::client::kAppIdKey. Type: mojom::String 81 // aura::client::client::kAppIdKey. Type: mojom::String
82 const string kAppID_Property = "prop:app-id"; 82 const string kAppID_Property = "prop:app-id";
83 83
84 // Used to explicitly control whether a window appears in the most recently 84 // Used to explicitly control whether a window appears in the most recently
85 // used list of windows. Maps to aura::client::kExcludeFromMruKey. Type: bool. 85 // used list of windows. Maps to aura::client::kExcludeFromMruKey. Type: bool.
86 const string kExcludeFromMru_Property = "prop:exclude_from_mru"; 86 const string kExcludeFromMru_Property = "prop:exclude_from_mru";
87 87
88 // If true, when a window is in in fullscreen mode, the user cannot reveal
89 // the top portion of the window through a touch / mouse gesture.
90 // Type: bool.
91 const string kImmersiveFullscreen_Property = "prop:immersive-fullscreen";
92
88 // Internal window name. Useful for debugging. Maps to aura::client::kNameKey. 93 // Internal window name. Useful for debugging. Maps to aura::client::kNameKey.
89 // Type: mojom::String 94 // Type: mojom::String
90 const string kName_Property = "prop:name"; 95 const string kName_Property = "prop:name";
91 96
92 // If true (and the window is a panel), it's attached to its shelf item. 97 // If true (and the window is a panel), it's attached to its shelf item.
93 const string kPanelAttached_Property = "prop:panel-attached"; 98 const string kPanelAttached_Property = "prop:panel-attached";
94 99
95 // The window's preferred size as defined by its content. Maps to 100 // The window's preferred size as defined by its content. Maps to
96 // aura::client::kPreferredSize_Property. Type: gfx::Size. 101 // aura::client::kPreferredSize_Property. Type: gfx::Size.
97 const string kPreferredSize_Property = "prop:preferred-size"; 102 const string kPreferredSize_Property = "prop:preferred-size";
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); 256 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id);
252 257
253 // Response from WmCreateTopLevelWindow() informing the client of the id for 258 // Response from WmCreateTopLevelWindow() informing the client of the id for
254 // the new window. 259 // the new window.
255 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 260 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
256 261
257 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 262 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
258 // that was passed to OnAccelerator(). 263 // that was passed to OnAccelerator().
259 OnAcceleratorAck(uint32 ack_id, EventResult event_result); 264 OnAcceleratorAck(uint32 ack_id, EventResult event_result);
260 }; 265 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698