Chromium Code Reviews| Index: public/web/WebMouseProperties.h |
| diff --git a/public/web/WebMouseProperties.h b/public/web/WebMouseProperties.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9c4c8f3e1a2a24b1bb518a9fbbeba86de70fe1ed |
| --- /dev/null |
| +++ b/public/web/WebMouseProperties.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WebMouseProperties_h |
| +#define WebMouseProperties_h |
| + |
| +namespace blink { |
| + |
| +// TODO(e_hakkinen): Replace WebTouchEvent with WebPointerEvent, remove |
| +// WebTouchEvent and WebTouchPoint and merge this into |
| +// WebMouseEvent. |
| +class WebMouseProperties { |
| +public: |
| + WebMouseProperties() |
| + : button(ButtonNone) |
| + { |
| + } |
| + |
| + enum Button { |
| + ButtonNone = -1, |
| + ButtonLeft, |
| + ButtonMiddle, |
| + ButtonRight |
| + }; |
| + |
| + 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.
|
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif |