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

Side by Side Diff: third_party/mojo_services/src/input_events/public/interfaces/input_events.mojom

Issue 1058033002: NOT TO COMMITTED: Update mojo sdk to rev 0018e6a91b75bcb941c867f8a7aa1753c3b53a13 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 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 "geometry/public/interfaces/geometry.mojom"; 7 import "geometry/public/interfaces/geometry.mojom";
8 import "input_events/public/interfaces/input_event_constants.mojom"; 8 import "input_events/public/interfaces/input_event_constants.mojom";
9 import "input_events/public/interfaces/input_key_codes.mojom"; 9 import "input_events/public/interfaces/input_key_codes.mojom";
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Used for devices that support wheels. Ranges from -1 to 1. 63 // Used for devices that support wheels. Ranges from -1 to 1.
64 float horizontal_wheel; 64 float horizontal_wheel;
65 float vertical_wheel; 65 float vertical_wheel;
66 }; 66 };
67 67
68 struct Event { 68 struct Event {
69 // TODO(sky): rename to type. 69 // TODO(sky): rename to type.
70 EventType action; 70 EventType action;
71 // TODO(sky): parts of this should move to PointerData. 71 // TODO(sky): parts of this should move to PointerData.
72 EventFlags flags; 72 EventFlags flags;
73 // Time the event was delivered. The time is in milliseconds and corresponds
74 // to the uptime of the machine.
73 int64 time_stamp; 75 int64 time_stamp;
74 KeyData? key_data; 76 KeyData? key_data;
75 PointerData? pointer_data; 77 PointerData? pointer_data;
76 }; 78 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698