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 WebMouseProperties_h | |
6 #define WebMouseProperties_h | |
7 | |
8 namespace blink { | |
9 | |
10 // TODO(e_hakkinen): Replace WebTouchEvent with WebPointerEvent, remove | |
11 // WebTouchEvent and WebTouchPoint and merge this into | |
12 // WebMouseEvent. | |
13 class WebMouseProperties { | |
14 public: | |
15 WebMouseProperties() | |
16 : button(ButtonNone) | |
17 { | |
18 } | |
19 | |
20 enum Button { | |
21 ButtonNone = -1, | |
22 ButtonLeft, | |
23 ButtonMiddle, | |
24 ButtonRight | |
25 }; | |
26 | |
27 Button button; | |
Rick Byers
2015/07/06 17:22:38
It feels a little odd to have WebMouseProperties i
USE eero AT chromium.org
2015/07/07 10:00:55
Yes.
| |
28 }; | |
29 | |
30 } // namespace blink | |
31 | |
32 #endif | |
OLD | NEW |