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

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

Issue 2266603002: mus: Implement interwindow drag and drop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more comments Created 4 years, 3 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 | « services/ui/public/interfaces/window_tree.mojom ('k') | services/ui/ws/BUILD.gn » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // Contains state of a single window. 9 // Contains state of a single window.
10 struct WindowData { 10 struct WindowData {
(...skipping 29 matching lines...) Expand all
40 // in the Window than the owner may also render to this surface as well. 40 // in the Window than the owner may also render to this surface as well.
41 DEFAULT, 41 DEFAULT,
42 }; 42 };
43 43
44 // The result of an input event sent to a client app. 44 // The result of an input event sent to a client app.
45 enum EventResult { 45 enum EventResult {
46 HANDLED, 46 HANDLED,
47 UNHANDLED, 47 UNHANDLED,
48 }; 48 };
49 49
50 // A bitfield of what drag operations are possible.
51 const uint32 kDropEffectNone = 0;
52 const uint32 kDropEffectMove = 1;
53 const uint32 kDropEffectCopy = 2;
54 const uint32 kDropEffectLink = 4;
55
50 // When this flag is set in a call to Embed(), the embedder (i.e. the client 56 // When this flag is set in a call to Embed(), the embedder (i.e. the client
51 // that is making the call to Embed()) will receive events that are targeted to 57 // that is making the call to Embed()) will receive events that are targeted to
52 // the embedded client. The embedded client will not receive any input events 58 // the embedded client. The embedded client will not receive any input events
53 // from the window server. However, the embedder can choose to dispatch events 59 // from the window server. However, the embedder can choose to dispatch events
54 // to the embedded client through other mechanism. 60 // to the embedded client through other mechanism.
55 // TODO(sad): Provide an API in mus for the embedder to dispatch events to the 61 // TODO(sad): Provide an API in mus for the embedder to dispatch events to the
56 // embedded client. https://crbug.com/621085 62 // embedded client. https://crbug.com/621085
57 const uint32 kEmbedFlagEmbedderInterceptsEvents = 0x01; 63 const uint32 kEmbedFlagEmbedderInterceptsEvents = 0x01;
OLDNEW
« no previous file with comments | « services/ui/public/interfaces/window_tree.mojom ('k') | services/ui/ws/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698