Chromium Code Reviews| Index: ui/aura/event.cc |
| diff --git a/ui/aura/event.cc b/ui/aura/event.cc |
| index 5cb2fd8f1f756f819cd9f1c9a29e550c2dde013a..980b12925c1d976349aa9d5f8f5ce282457e20be 100644 |
| --- a/ui/aura/event.cc |
| +++ b/ui/aura/event.cc |
| @@ -251,4 +251,9 @@ uint16 KeyEvent::GetUnmodifiedCharacter() const { |
| #endif |
| } |
| +ScrollEvent::ScrollEvent(const base::NativeEvent& native_event) |
| + : MouseEvent(native_event) { |
| + ui::GetScrollOffsets(native_event, &x_offset_, &y_offset_); |
| +} |
| + |
| } // namespace aura |