| Index: ui/events/event.h
|
| diff --git a/ui/events/event.h b/ui/events/event.h
|
| index 34944fd78296825013486e4fec87c8c3cc96b7ba..114d73ad320cd7fdfe2753c397b0669f8c4a4f9e 100644
|
| --- a/ui/events/event.h
|
| +++ b/ui/events/event.h
|
| @@ -465,6 +465,9 @@ class EVENTS_EXPORT MouseEvent : public LocatedEvent {
|
| public:
|
| explicit MouseEvent(const base::NativeEvent& native_event);
|
|
|
| + // |pointer_event.IsMousePointerEvent()| must be true.
|
| + explicit MouseEvent(const PointerEvent& pointer_event);
|
| +
|
| // Create a new MouseEvent based on the provided model.
|
| // Uses the provided |type| and |flags| for the new event.
|
| // If source / target windows are provided, the model location will be
|
| @@ -640,6 +643,9 @@ class EVENTS_EXPORT TouchEvent : public LocatedEvent {
|
| public:
|
| explicit TouchEvent(const base::NativeEvent& native_event);
|
|
|
| + // |pointer_event.IsTouchPointerEvent()| must be true.
|
| + explicit TouchEvent(const PointerEvent& pointer_event);
|
| +
|
| // Create a new TouchEvent which is identical to the provided model.
|
| // If source / target windows are provided, the model location will be
|
| // converted from |source| coordinate system to |target| coordinate system.
|
|
|