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

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

Issue 2650833002: Set focusibility correctly when initializing a window in mus+ash. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | services/ui/ws/window_tree.cc » ('j') | services/ui/ws/window_tree.cc » ('J')
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/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 17 matching lines...) Expand all
28 // . Long lived properties. These properties may be changed at any time and 28 // . Long lived properties. These properties may be changed at any time and
29 // are mapped to aura::Window properties. aura::PropertyConverter defines 29 // are mapped to aura::Window properties. aura::PropertyConverter defines
30 // the mapping between the property defined here and the corresonding 30 // the mapping between the property defined here and the corresonding
31 // aura property. For properties defined in PropertyConverter any change to 31 // aura property. For properties defined in PropertyConverter any change to
32 // to the aura property is mapped to the property defined here and sent to 32 // to the aura property is mapped to the property defined here and sent to
33 // all clients that know about the window (which is generally just the owner 33 // all clients that know about the window (which is generally just the owner
34 // and the window-manager). 34 // and the window-manager).
35 35
36 // Properties used only during creation time. -------------------------------- 36 // Properties used only during creation time. --------------------------------
37 37
38 // Whether the window should be initially focusable or not. Type: bool.
39 const string kActivatable_InitProperty = "init:activatable";
sky 2017/01/23 21:28:29 Name this Focusable to match what is changes.
Hadi 2017/01/24 18:42:32 Done.
40
38 // Initial bounds to create the window at. If empty the WindowManager decides 41 // Initial bounds to create the window at. If empty the WindowManager decides
39 // the initial bounds. Type: gfx::Rect. 42 // the initial bounds. Type: gfx::Rect.
40 const string kBounds_InitProperty = "init:bounds"; 43 const string kBounds_InitProperty = "init:bounds";
41 44
42 // The window manager will place the window in this container when the window 45 // The window manager will place the window in this container when the window
43 // is created. If not set a container is selected based on the window type. 46 // is created. If not set a container is selected based on the window type.
44 // Type: int32_t. 47 // Type: int32_t.
45 const string kContainerId_InitProperty = "init:container_id"; 48 const string kContainerId_InitProperty = "init:container_id";
46 49
47 // Disables the window manager from handling immersive fullscreen for the 50 // Disables the window manager from handling immersive fullscreen for the
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); 250 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id);
248 251
249 // Response from WmCreateTopLevelWindow() informing the client of the id for 252 // Response from WmCreateTopLevelWindow() informing the client of the id for
250 // the new window. 253 // the new window.
251 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 254 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
252 255
253 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 256 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
254 // that was passed to OnAccelerator(). 257 // that was passed to OnAccelerator().
255 OnAcceleratorAck(uint32 ack_id, EventResult event_result); 258 OnAcceleratorAck(uint32 ack_id, EventResult event_result);
256 }; 259 };
OLDNEW
« no previous file with comments | « no previous file | services/ui/ws/window_tree.cc » ('j') | services/ui/ws/window_tree.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698