Changeset 142752 in webkit
- Timestamp:
- Feb 13, 2013 8:25:05 AM (11 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r142710 r142752 1 2013-02-13 Sadrul Habib Chowdhury <sadrul@chromium.org> 2 3 [chromium] Add acceleration ratios for the deltas to WebMouseWheelEvents. 4 https://bugs.webkit.org/show_bug.cgi?id=109611 5 6 The deltas in mousewheel events generated by track can be accelerated (e.g. when 7 scrolling repeatedly). Keep track of the ratio of the acceleration since that is 8 useful for some tasks (e.g. overflow navigation gesture). 9 10 Reviewed by Adam Barth. 11 12 * public/WebInputEvent.h: 13 (WebKit::WebMouseWheelEvent::WebMouseWheelEvent): 14 * src/WebInputEvent.cpp: 15 (SameSizeAsWebMouseWheelEvent): 16 1 17 2013-02-12 Yoshifumi Inoue <yosin@chromium.org> 2 18 -
trunk/Source/WebKit/chromium/public/WebInputEvent.h
r142571 r142752 368 368 float wheelTicksY; 369 369 370 float accelerationRatioX; 371 float accelerationRatioY; 372 370 373 // See comment at the top of the file for why an int is used here. 371 374 int scrollByPage; … … 382 385 , wheelTicksX(0.0f) 383 386 , wheelTicksY(0.0f) 387 , accelerationRatioX(1.0f) 388 , accelerationRatioY(1.0f) 384 389 , scrollByPage(false) 385 390 , hasPreciseScrollingDeltas(false) -
trunk/Source/WebKit/chromium/src/WebInputEvent.cpp
r136325 r142752 57 57 58 58 struct SameSizeAsWebMouseWheelEvent : public SameSizeAsWebMouseEvent { 59 int mousewheelData[ 8];59 int mousewheelData[10]; 60 60 }; 61 61
Note: See TracChangeset
for help on using the changeset viewer.