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

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

Issue 2715243012: Renames kWindowIgnoredByShelf_Property to ..._InitProperty (Closed)
Patch Set: init Created 3 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
« no previous file with comments | « chrome/browser/ui/views/status_bubble_views.cc ('k') | no next file » | 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 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/event_matcher.mojom"; 8 import "services/ui/public/interfaces/event_matcher.mojom";
9 import "services/ui/public/interfaces/window_manager_constants.mojom"; 9 import "services/ui/public/interfaces/window_manager_constants.mojom";
10 import "services/ui/public/interfaces/window_tree_constants.mojom"; 10 import "services/ui/public/interfaces/window_tree_constants.mojom";
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const string kDisableImmersive_InitProperty = "init:disable_immersive"; 53 const string kDisableImmersive_InitProperty = "init:disable_immersive";
54 54
55 // The id of the display (display::Display::id()) to create the window on. 55 // The id of the display (display::Display::id()) to create the window on.
56 // Type: int64. 56 // Type: int64.
57 const string kDisplayId_InitProperty = "init:display_id"; 57 const string kDisplayId_InitProperty = "init:display_id";
58 58
59 // Specifies that the system default caption and icon should not be rendered, 59 // Specifies that the system default caption and icon should not be rendered,
60 // and the client area should be equivalent to the window area. Type: bool 60 // and the client area should be equivalent to the window area. Type: bool
61 const string kRemoveStandardFrame_InitProperty = "init:remove-standard-frame"; 61 const string kRemoveStandardFrame_InitProperty = "init:remove-standard-frame";
62 62
63 // A flag controlling the window's presence on the mash shelf. Type: bool
64 const string kWindowIgnoredByShelf_InitProperty =
65 "init:window-ignored-by-shelf";
66
63 // The window type. This maps to aura::client::kWindowTypeKey as well as 67 // The window type. This maps to aura::client::kWindowTypeKey as well as
64 // Window::type(). This mapping is only done for top-level windows that are 68 // Window::type(). This mapping is only done for top-level windows that are
65 // created by the window manager at the request of a client. 69 // created by the window manager at the request of a client.
66 // Type: mojom::WindowType (int32_t). 70 // Type: mojom::WindowType (int32_t).
67 const string kWindowType_InitProperty = "init:window-type"; 71 const string kWindowType_InitProperty = "init:window-type";
68 72
69 // End properties used only during creation time. ---------------------------- 73 // End properties used only during creation time. ----------------------------
70 74
71 // Long lived properties. ---------------------------------------------------- 75 // Long lived properties. ----------------------------------------------------
72 76
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item. 132 // A few ash::ShelfItemType values are supported; TYPE_UNKNOWN means no item.
129 const string kShelfItemType_Property = "prop:shelf-item-type"; 133 const string kShelfItemType_Property = "prop:shelf-item-type";
130 134
131 // The window's show state. Maps to aura::client::kShowStateKey. 135 // The window's show state. Maps to aura::client::kShowStateKey.
132 // Type: ShowState. 136 // Type: ShowState.
133 const string kShowState_Property = "prop:show-state"; 137 const string kShowState_Property = "prop:show-state";
134 138
135 // The window icon; typically 16x16 for titlebars. Type: SkBitmap 139 // The window icon; typically 16x16 for titlebars. Type: SkBitmap
136 const string kWindowIcon_Property = "prop:window-icon"; 140 const string kWindowIcon_Property = "prop:window-icon";
137 141
138 // A flag controlling the window's presence on the mash shelf. Type: bool
139 // TODO: convert this to a aura::client property; http://crbug.com/671729.
140 const string kWindowIgnoredByShelf_Property = "prop:window-ignored-by-shelf";
141
142 // The window's title. Maps to aura::client::kTitleKey. Type: mojom::String 142 // The window's title. Maps to aura::client::kTitleKey. Type: mojom::String
143 const string kWindowTitle_Property = "prop:window-title"; 143 const string kWindowTitle_Property = "prop:window-title";
144 144
145 // End long lived properties. ------------------------------------------------ 145 // End long lived properties. ------------------------------------------------
146 146
147 // Shadow style for the window. Type: mojom::ShadowStyle. 147 // Shadow style for the window. Type: mojom::ShadowStyle.
148 // TODO(sky): this is currently unused, either wire up or nuke: 148 // TODO(sky): this is currently unused, either wire up or nuke:
149 // http://crbug.com/671714. 149 // http://crbug.com/671714.
150 const string kShadowStyle_Property = "prop:shadow-style"; 150 const string kShadowStyle_Property = "prop:shadow-style";
151 151
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); 263 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id);
264 264
265 // Response from WmCreateTopLevelWindow() informing the client of the id for 265 // Response from WmCreateTopLevelWindow() informing the client of the id for
266 // the new window. 266 // the new window.
267 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 267 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
268 268
269 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 269 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
270 // that was passed to OnAccelerator(). 270 // that was passed to OnAccelerator().
271 OnAcceleratorAck(uint32 ack_id, EventResult event_result); 271 OnAcceleratorAck(uint32 ack_id, EventResult event_result);
272 }; 272 };
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/status_bubble_views.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698