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

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

Issue 472083003: Mojom cpp bindings: Enable non-nullable check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
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 import "mojo/services/public/interfaces/geometry/geometry.mojom" 5 import "mojo/services/public/interfaces/geometry/geometry.mojom"
6 import "mojo/services/public/interfaces/input_events/input_event_constants.mojom " 6 import "mojo/services/public/interfaces/input_events/input_event_constants.mojom "
7 7
8 module mojo { 8 module mojo {
9 9
10 struct LocationData { 10 struct LocationData {
(...skipping 12 matching lines...) Expand all
23 23
24 struct MouseWheelData { 24 struct MouseWheelData {
25 int32 x_offset; 25 int32 x_offset;
26 int32 y_offset; 26 int32 y_offset;
27 }; 27 };
28 28
29 struct Event { 29 struct Event {
30 EventType action; 30 EventType action;
31 EventFlags flags; 31 EventFlags flags;
32 int64 time_stamp; 32 int64 time_stamp;
33 LocationData location_data; 33 LocationData? location_data;
34 KeyData key_data; 34 KeyData? key_data;
35 TouchData touch_data; 35 TouchData? touch_data;
36 MouseWheelData wheel_data; 36 MouseWheelData? wheel_data;
37 }; 37 };
38 38
39 } 39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698