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

Side by Side Diff: mojo/services/public/interfaces/input_events/input_events.mojom

Issue 790213002: Restructure public side of geometry service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Nits Created 6 years 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 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 mojo; 5 module mojo;
6 6
7 import "mojo/services/public/interfaces/geometry/geometry.mojom"; 7 import "mojo/services/geometry/public/interfaces/geometry.mojom";
8 import "mojo/services/public/interfaces/input_events/input_event_constants.mojom "; 8 import "mojo/services/public/interfaces/input_events/input_event_constants.mojom ";
9 import "mojo/services/public/interfaces/input_events/input_key_codes.mojom"; 9 import "mojo/services/public/interfaces/input_events/input_key_codes.mojom";
10 10
11 struct LocationData { 11 struct LocationData {
12 Point? in_view_location; 12 Point? in_view_location;
13 Point? screen_location; 13 Point? screen_location;
14 }; 14 };
15 15
16 struct KeyData { 16 struct KeyData {
17 // The chromium event key code; these values are from the ui/ KeyCode enum, 17 // The chromium event key code; these values are from the ui/ KeyCode enum,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 struct Event { 64 struct Event {
65 EventType action; 65 EventType action;
66 EventFlags flags; 66 EventFlags flags;
67 int64 time_stamp; 67 int64 time_stamp;
68 LocationData? location_data; 68 LocationData? location_data;
69 KeyData? key_data; 69 KeyData? key_data;
70 TouchData? touch_data; 70 TouchData? touch_data;
71 MouseWheelData? wheel_data; 71 MouseWheelData? wheel_data;
72 }; 72 };
OLDNEW
« no previous file with comments | « mojo/services/public/interfaces/input_events/BUILD.gn ('k') | mojo/services/public/interfaces/native_viewport/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698