Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Unified Diff: webkit/glue/event_conversion.cc

Issue 40241: Convert from line scrolling to pixel scrolling. Increase pixel scroll amount... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/glue/webinputevent_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/event_conversion.cc
===================================================================
--- webkit/glue/event_conversion.cc (revision 11127)
+++ webkit/glue/event_conversion.cc (working copy)
@@ -127,7 +127,7 @@
m_deltaY = e.delta_y;
m_isAccepted = false;
m_granularity = e.scroll_by_page ?
- ScrollByPageWheelEvent : ScrollByLineWheelEvent;
+ ScrollByPageWheelEvent : ScrollByPixelWheelEvent;
m_shiftKey = (e.modifiers & WebInputEvent::SHIFT_KEY) != 0;
m_ctrlKey = (e.modifiers & WebInputEvent::CTRL_KEY) != 0;
m_altKey = (e.modifiers & WebInputEvent::ALT_KEY) != 0;
« no previous file with comments | « no previous file | webkit/glue/webinputevent_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698