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

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

Issue 2919523004: Surface synchronization: Don't gutter translucent windows (Closed)
Patch Set: Created 3 years, 6 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 | « ash/mus/top_level_window_factory.cc ('k') | ui/aura/mus/client_surface_embedder.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 ui.mojom; 5 module ui.mojom;
6 6
7 import "cc/ipc/frame_sink_id.mojom"; 7 import "cc/ipc/frame_sink_id.mojom";
8 import "cc/ipc/local_surface_id.mojom"; 8 import "cc/ipc/local_surface_id.mojom";
9 import "services/ui/public/interfaces/cursor/cursor.mojom"; 9 import "services/ui/public/interfaces/cursor/cursor.mojom";
10 import "services/ui/public/interfaces/event_matcher.mojom"; 10 import "services/ui/public/interfaces/event_matcher.mojom";
(...skipping 26 matching lines...) Expand all
37 // aura property. For properties defined in PropertyConverter any change to 37 // aura property. For properties defined in PropertyConverter any change to
38 // to the aura property is mapped to the property defined here and sent to 38 // to the aura property is mapped to the property defined here and sent to
39 // all clients that know about the window (which is generally just the owner 39 // all clients that know about the window (which is generally just the owner
40 // and the window-manager). 40 // and the window-manager).
41 41
42 // Properties used only during creation time. -------------------------------- 42 // Properties used only during creation time. --------------------------------
43 43
44 // Whether the window should be initially focusable or not. Type: bool. 44 // Whether the window should be initially focusable or not. Type: bool.
45 const string kFocusable_InitProperty = "init:focusable"; 45 const string kFocusable_InitProperty = "init:focusable";
46 46
47 // Whether the window should be opaque.
48 const string kTranslucent_InitProperty = "init:translucent";
49
47 // Initial bounds to create the window at. If empty the WindowManager decides 50 // Initial bounds to create the window at. If empty the WindowManager decides
48 // the initial bounds. Type: gfx::Rect. 51 // the initial bounds. Type: gfx::Rect.
49 const string kBounds_InitProperty = "init:bounds"; 52 const string kBounds_InitProperty = "init:bounds";
50 53
51 // The window manager will place the window in this container when the window 54 // The window manager will place the window in this container when the window
52 // is created. If not set a container is selected based on the window type. 55 // is created. If not set a container is selected based on the window type.
53 // Type: int32_t. 56 // Type: int32_t.
54 const string kContainerId_InitProperty = "init:container_id"; 57 const string kContainerId_InitProperty = "init:container_id";
55 58
56 // Disables the window manager from handling immersive fullscreen for the 59 // Disables the window manager from handling immersive fullscreen for the
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 328 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
326 329
327 // See description in WindowManager::OnAccelerator(). |ack_id| is the value 330 // See description in WindowManager::OnAccelerator(). |ack_id| is the value
328 // that was passed to OnAccelerator(). If the accelerator is a pre-target 331 // that was passed to OnAccelerator(). If the accelerator is a pre-target
329 // handler and |event_result| is UNHANDLED, then |properties| is added to 332 // handler and |event_result| is UNHANDLED, then |properties| is added to
330 // the KeyEvent that is dispatched to the client with the focused window. 333 // the KeyEvent that is dispatched to the client with the focused window.
331 OnAcceleratorAck(uint32 ack_id, 334 OnAcceleratorAck(uint32 ack_id,
332 EventResult event_result, 335 EventResult event_result,
333 map<string, array<uint8>> properties); 336 map<string, array<uint8>> properties);
334 }; 337 };
OLDNEW
« no previous file with comments | « ash/mus/top_level_window_factory.cc ('k') | ui/aura/mus/client_surface_embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698