DescriptionGive blink a chance to consume ctrl+wheel events before zooming
Today chromium consumes all mouse wheel events when the control key is pressed for the purposes of browser zoom (except on MacOS). With this change we give the web page a chance to get and consume the wheel event first, in case it wants to override the behavior. This makes Chrome consistent with IE and Firefox on Windows. See http://crbug.com/289887 and the linked chromium-dev thread for discussion.
Apparently there were no tests at all for this functionality. I've added new unit tests at RenderWidgetHost and WebContents layers.
Depends on blink change http://src.chromium.org/viewvc/blink?view=rev&rev=168088
BUG=289887
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254559
Patch Set 1 #Patch Set 2 : Add tests #
Total comments: 4
Patch Set 3 : Tweaks for sadrul CR #Patch Set 4 : Merge with trunk (no changes) #Messages
Total messages: 13 (0 generated)
|