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

Side by Side Diff: ui/events/mojo/event_constants.mojom

Issue 2125883003: Adds ability for pre-target accelerators to not consume events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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
« no previous file with comments | « ui/events/mojo/OWNERS ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Denotes during which phase of event targeting that an accelerator will be 7 // AcceleratorPhase specifies which phase of event matching the matcher should
8 // notified of an event. PRE_TARGET will be notified instead of the target 8 // be considered for. See WindowTree for details on how it handles the
9 // window. POST_TARGET will be notified after the target window, and only if the 9 // AcceleratorPhase.
10 // event was not consumed by the target.
11 enum AcceleratorPhase { 10 enum AcceleratorPhase {
12 PRE_TARGET, 11 PRE_TARGET,
13 POST_TARGET, 12 POST_TARGET,
14 }; 13 };
15 14
16 enum EventType { 15 enum EventType {
17 UNKNOWN, 16 UNKNOWN,
18 KEY_PRESSED, 17 KEY_PRESSED,
19 KEY_RELEASED, 18 KEY_RELEASED,
20 POINTER_CANCEL, 19 POINTER_CANCEL,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 PEN, 54 PEN,
56 TOUCH, 55 TOUCH,
57 }; 56 };
58 57
59 enum WheelMode { 58 enum WheelMode {
60 PIXEL, 59 PIXEL,
61 LINE, 60 LINE,
62 PAGE, 61 PAGE,
63 SCALING, 62 SCALING,
64 }; 63 };
OLDNEW
« no previous file with comments | « ui/events/mojo/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698