Chromium Code Reviews| Index: content/common/input/synthetic_web_input_event_builders.cc |
| diff --git a/content/common/input/synthetic_web_input_event_builders.cc b/content/common/input/synthetic_web_input_event_builders.cc |
| index d3addb67918cc46a16e8e14ec3124a9db9aa6f88..e5f18af585bc3098bff700036d1c01305602f9e5 100644 |
| --- a/content/common/input/synthetic_web_input_event_builders.cc |
| +++ b/content/common/input/synthetic_web_input_event_builders.cc |
| @@ -68,6 +68,9 @@ WebMouseWheelEvent SyntheticWebMouseWheelEventBuilder::Build(float dx, |
| result.wheelTicksY = dy > 0.0f ? 1.0f : -1.0f; |
| result.modifiers = modifiers; |
| result.hasPreciseScrollingDeltas = precise; |
| + if ((modifiers & blink::WebInputEvent::ControlKey) && !precise) { |
|
Rick Byers
2014/12/12 22:20:29
Which tests fail if you just unconditionally set c
lanwei
2014/12/17 23:16:40
Done.
|
| + result.canScroll = false; |
| + } |
| return result; |
| } |