summaryrefslogtreecommitdiffstats
path: root/ui/base/events/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/base/events/event.h')
-rw-r--r--ui/base/events/event.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/base/events/event.h b/ui/base/events/event.h
index 4f73146..7d74fba 100644
--- a/ui/base/events/event.h
+++ b/ui/base/events/event.h
@@ -581,7 +581,8 @@ class UI_EXPORT ScrollEvent : public MouseEvent {
int flags)
: MouseEvent(model, source, target, type, flags),
x_offset_(model.x_offset_),
- y_offset_(model.y_offset_) {
+ y_offset_(model.y_offset_),
+ finger_count_(model.finger_count_){
}
// Used for tests.
@@ -593,10 +594,12 @@ class UI_EXPORT ScrollEvent : public MouseEvent {
float x_offset() const { return x_offset_; }
float y_offset() const { return y_offset_; }
+ int finger_count() const { return finger_count_; }
private:
float x_offset_;
float y_offset_;
+ int finger_count_;
DISALLOW_COPY_AND_ASSIGN(ScrollEvent);
};