OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef WebPointerProperties_h | |
6 #define WebPointerProperties_h | |
7 | |
8 namespace blink { | |
9 | |
10 // TODO(e_hakkinen): Replace WebTouchEvent with WebPointerEvent, remove | |
11 // WebTouchEvent and WebTouchPoint and merge this into | |
12 // WebPointerEvent. | |
13 class WebPointerProperties { | |
Rick Byers
2015/07/06 17:22:38
I like the idea of a common class for the properti
USE eero AT chromium.org
2015/07/07 10:00:56
Acknowledged.
| |
14 public: | |
15 WebPointerProperties() | |
16 : pointerId(0) | |
17 , width(0.f) | |
18 , height(0.f) | |
19 , pressure(0.f) | |
20 { | |
21 } | |
22 | |
23 int pointerId; | |
24 float width; | |
25 float height; | |
26 float pressure; | |
27 }; | |
28 | |
29 } // namespace blink | |
30 | |
31 #endif | |
OLD | NEW |