| Index: ui/events/event.h
|
| diff --git a/ui/events/event.h b/ui/events/event.h
|
| index def42660efecdab55a7108288ab1fcb7e349f839..49be333ba8e6ecd9d91419c5dd4204ef67457d0f 100644
|
| --- a/ui/events/event.h
|
| +++ b/ui/events/event.h
|
| @@ -737,6 +737,11 @@ class EVENTS_EXPORT PointerEvent : public LocatedEvent {
|
| public:
|
| static const int32_t kMousePointerId;
|
|
|
| + // Returns true if a PointerEvent can be constructed from the given mouse or
|
| + // touch event. For example, PointerEvent does not support ET_MOUSEWHEEL or
|
| + // ET_MOUSE_CAPTURE_CHANGED.
|
| + static bool CanConvertFrom(const Event& event);
|
| +
|
| PointerEvent(const PointerEvent& pointer_event);
|
| explicit PointerEvent(const MouseEvent& mouse_event);
|
| explicit PointerEvent(const TouchEvent& touch_event);
|
|
|