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

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

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheng nits Created 4 years, 5 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 "ui/gfx/geometry/mojo/geometry.mojom"; 7 import "ui/gfx/geometry/mojo/geometry.mojom";
8 8
9 enum WindowManagerErrorCode { 9 enum WindowManagerErrorCode {
10 SUCCESS, 10 SUCCESS,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 int64 id; 55 int64 id;
56 gfx.mojom.Rect bounds; 56 gfx.mojom.Rect bounds;
57 gfx.mojom.Rect work_area; 57 gfx.mojom.Rect work_area;
58 float device_pixel_ratio; 58 float device_pixel_ratio;
59 Rotation rotation; 59 Rotation rotation;
60 TouchSupport touch_support; 60 TouchSupport touch_support;
61 bool is_primary; 61 bool is_primary;
62 FrameDecorationValues frame_decoration_values; 62 FrameDecorationValues frame_decoration_values;
63 }; 63 };
64 64
65 // Whether a client initiated move loop was started with a mouse event or a
66 // touch event.
67 enum MoveLoopSource {
68 MOUSE,
69 TOUCH
70 };
71
65 enum WindowType { 72 enum WindowType {
66 // These constants come from Widget::InitParams. See it for details. 73 // These constants come from Widget::InitParams. See it for details.
67 // TODO: see if we can reduce this set. For example, why do we need both 74 // TODO: see if we can reduce this set. For example, why do we need both
68 // BUBBLE and POPUP. 75 // BUBBLE and POPUP.
69 WINDOW, 76 WINDOW,
70 PANEL, 77 PANEL,
71 WINDOW_FRAMELESS, 78 WINDOW_FRAMELESS,
72 CONTROL, 79 CONTROL,
73 POPUP, 80 POPUP,
74 MENU, 81 MENU,
75 TOOLTIP, 82 TOOLTIP,
76 BUBBLE, 83 BUBBLE,
77 DRAG, 84 DRAG,
78 }; 85 };
OLDNEW
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698