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

Unified Diff: WebKit/chromium/src/win/WebInputEventFactory.cpp

Issue 3364013: Merge 67001 - 2010-09-08 Peter Kasting <pkasting@google.com>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 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 | « WebKit/chromium/src/WebScrollbarImpl.cpp ('k') | WebKit/qt/Api/qwebframe.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebKit/chromium/src/win/WebInputEventFactory.cpp
===================================================================
--- WebKit/chromium/src/win/WebInputEventFactory.cpp (revision 67003)
+++ WebKit/chromium/src/win/WebInputEventFactory.cpp (working copy)
@@ -403,6 +403,9 @@
// smooth scrolling while Firefox doesn't, so it can get away with somewhat
// larger scroll values without feeling as jerky. Here we use 100 px per
// three lines (the default scroll amount is three lines per wheel tick).
+ // Even though we have smooth scrolling, we don't make this as large as IE
+ // because subjectively IE feels like it scrolls farther than you want while
+ // reading articles.
static const float scrollbarPixelsPerLine = 100.0f / 3.0f;
wheelDelta /= WHEEL_DELTA;
float scrollDelta = wheelDelta;
« no previous file with comments | « WebKit/chromium/src/WebScrollbarImpl.cpp ('k') | WebKit/qt/Api/qwebframe.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698