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

Side by Side Diff: components/mus/public/interfaces/event_matcher.mojom

Issue 2027203002: Rename mojo.* ui/gfx/geometry/mojo types to gfx.mojom.* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 4 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
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 mus.mojom; 5 module mus.mojom;
6 6
7 import "components/mus/public/interfaces/input_event_constants.mojom"; 7 import "components/mus/public/interfaces/input_event_constants.mojom";
8 import "components/mus/public/interfaces/input_key_codes.mojom"; 8 import "components/mus/public/interfaces/input_key_codes.mojom";
9 import "ui/gfx/geometry/mojo/geometry.mojom"; 9 import "ui/gfx/geometry/mojo/geometry.mojom";
10 10
11 struct KeyEventMatcher { 11 struct KeyEventMatcher {
12 KeyboardCode keyboard_code; 12 KeyboardCode keyboard_code;
13 }; 13 };
14 14
15 struct PointerKindMatcher { 15 struct PointerKindMatcher {
16 PointerKind pointer_kind; 16 PointerKind pointer_kind;
17 }; 17 };
18 18
19 struct PointerLocationMatcher { 19 struct PointerLocationMatcher {
20 mojo.RectF region; 20 gfx.mojom.RectF region;
21 }; 21 };
22 22
23 struct EventTypeMatcher { 23 struct EventTypeMatcher {
24 EventType type; 24 EventType type;
25 }; 25 };
26 26
27 struct EventFlagsMatcher { 27 struct EventFlagsMatcher {
28 // A bitfield of kEventFlag* and kMouseEventFlag* values in 28 // A bitfield of kEventFlag* and kMouseEventFlag* values in
29 // input_event_constants.mojom. 29 // input_event_constants.mojom.
30 int32 flags; 30 int32 flags;
(...skipping 15 matching lines...) Expand all
46 AcceleratorPhase accelerator_phase; 46 AcceleratorPhase accelerator_phase;
47 EventTypeMatcher? type_matcher; 47 EventTypeMatcher? type_matcher;
48 EventFlagsMatcher? flags_matcher; 48 EventFlagsMatcher? flags_matcher;
49 // These flags will be stripped from incoming events' flags when comparing 49 // These flags will be stripped from incoming events' flags when comparing
50 // against |flags_matcher|. 50 // against |flags_matcher|.
51 EventFlagsMatcher? ignore_flags_matcher; 51 EventFlagsMatcher? ignore_flags_matcher;
52 KeyEventMatcher? key_matcher; 52 KeyEventMatcher? key_matcher;
53 PointerKindMatcher? pointer_kind_matcher; 53 PointerKindMatcher? pointer_kind_matcher;
54 PointerLocationMatcher? pointer_location_matcher; 54 PointerLocationMatcher? pointer_location_matcher;
55 }; 55 };
OLDNEW
« no previous file with comments | « components/mus/public/interfaces/command_buffer.mojom ('k') | components/mus/public/interfaces/gpu_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698