Changeset 50871 in webkit
- Timestamp:
- Nov 12, 2009 1:03:32 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r50869 r50871 1 2009-11-12 Kinuko Yasuda <kinuko@google.com> 2 3 Reviewed by David Levin. 4 5 Support Gtk scrollwheel behavior for horizontal scrollbars on Linux 6 Chromium too. 7 https://bugs.webkit.org/show_bug.cgi?id=31292 8 9 No new tests. (Corresponding test for Gtk+ is 10 platform/gtk/scrollbars/overflow-scrollbar-horizontal-wheel-scroll.html) 11 12 * page/EventHandler.cpp: 13 * page/chromium/EventHandlerChromium.cpp: 14 1 15 2009-11-12 Yuta Kitamura <yutak@chromium.org> 2 16 -
trunk/WebCore/page/EventHandler.cpp
r50786 r50871 1792 1792 } 1793 1793 1794 #if !PLATFORM(GTK) 1794 #if !PLATFORM(GTK) && !(PLATFORM(CHROMIUM) && PLATFORM(LINUX)) 1795 1795 bool EventHandler::shouldTurnVerticalTicksIntoHorizontal(const HitTestResult&) const 1796 1796 { -
trunk/WebCore/page/chromium/EventHandlerChromium.cpp
r46592 r50871 155 155 } 156 156 157 #if PLATFORM(LINUX) 158 // GTK+ must scroll horizontally if the mouse pointer is on top of the 159 // horizontal scrollbar while scrolling with the wheel. 160 // This code comes from gtk/EventHandlerGtk.cpp. 161 bool EventHandler::shouldTurnVerticalTicksIntoHorizontal(const HitTestResult& result) const 162 { 163 return result.scrollbar() && result.scrollbar()->orientation() == HorizontalScrollbar; 164 } 165 #endif 166 157 167 } // namespace WebCore
Note: See TracChangeset
for help on using the changeset viewer.