Chromium Code Reviews
DescriptionMac: Prevent NTP mousewheel events from being suppressed on Lion.
On Lion, when the "two-finger page swipe" system preference is enabled,
horizontal scrolling should never trigger NTP page flipping -- it should
always mean back/forward navigation.
https://chromiumcodereview.appspot.com/9296040/ implemented this by suppressing
mousewheel events on the NTP. However, this prevents containers with vertical
scrollbars (e.g. the Other Devices menu) from being scrolling.
This fix reverts most of that change, and instead places the logic in the NTP.
BUG=120191
TEST=Manual. On a non-Lion machine, scrolling left and right should always flip
between NTP pages. On Lion, when the pref is turned on, it should trigger back
and forward navigation. Turn the pref off, reload the NTP, and ensure that
scrolling flips between pages again.
In all cases, vertical scrolling on the NTP should still work (shrink the window
vertically and the NTP will get a vertical scroll bar).
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=133020
Patch Set 1 #
Total comments: 3
Patch Set 2 : Finished pathc. #Patch Set 3 : Whoops - send message to class, not metaclass. #
Total comments: 1
Patch Set 4 : Fix scrolling when over page switcher. #
Total comments: 16
Patch Set 5 : Address reviewer comments. #
Total comments: 4
Patch Set 6 : Fix grammar & style. #Messages
Total messages: 12 (0 generated)
|