| Index: trunk/src/ui/events/event.h
|
| ===================================================================
|
| --- trunk/src/ui/events/event.h (revision 244019)
|
| +++ trunk/src/ui/events/event.h (working copy)
|
| @@ -437,8 +437,7 @@
|
| radius_x_(model.radius_x_),
|
| radius_y_(model.radius_y_),
|
| rotation_angle_(model.rotation_angle_),
|
| - force_(model.force_),
|
| - source_device_id_(model.source_device_id_) {
|
| + force_(model.force_) {
|
| }
|
|
|
| TouchEvent(EventType type,
|
| @@ -463,7 +462,6 @@
|
| float radius_y() const { return radius_y_; }
|
| float rotation_angle() const { return rotation_angle_; }
|
| float force() const { return force_; }
|
| - int source_device_id() const { return source_device_id_; }
|
|
|
| // Relocate the touch-point to a new |origin|.
|
| // This is useful when touch event is in X Root Window coordinates,
|
| @@ -473,9 +471,6 @@
|
| // Used for unit tests.
|
| void set_radius_x(const float r) { radius_x_ = r; }
|
| void set_radius_y(const float r) { radius_y_ = r; }
|
| - void set_source_device_id(int source_device_id) {
|
| - source_device_id_ = source_device_id;
|
| - }
|
|
|
| // Overridden from LocatedEvent.
|
| virtual void UpdateForRootTransform(
|
| @@ -509,9 +504,6 @@
|
|
|
| // Force (pressure) of the touch. Normalized to be [0, 1]. Default to be 0.0.
|
| float force_;
|
| -
|
| - // The device id of the screen the event came from. Default to be -1.
|
| - int source_device_id_;
|
| };
|
|
|
| class EVENTS_EXPORT KeyEvent : public Event {
|
|
|