Chromium Code Reviews| Index: Source/core/page/EventHandler.cpp |
| diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
| index cf16660a6b045b4a2b1d4b08e4effbe9b3232974..c3d64cb5dd752568d2a026865592aa8876281e1d 100644 |
| --- a/Source/core/page/EventHandler.cpp |
| +++ b/Source/core/page/EventHandler.cpp |
| @@ -2189,6 +2189,10 @@ bool EventHandler::handleWheelEvent(const PlatformWheelEvent& e) |
| RETURN_WHEEL_EVENT_HANDLED(); |
| } |
| + // Ctrl + mousewheel should not be handled, because it is reserved for zoom |
|
eae
2014/02/18 16:20:26
This comment is misleading. Does it mean that this
|
| + if (e.ctrlKey()) |
| + return false; |
| + |
| // We do another check on the frame view because the event handler can run JS which results in the frame getting destroyed. |
| view = m_frame->view(); |