| Index: ui/events/blink/input_handler_proxy_unittest.cc
|
| diff --git a/ui/events/blink/input_handler_proxy_unittest.cc b/ui/events/blink/input_handler_proxy_unittest.cc
|
| index cc97babd1080298d257ea86b01ddc8fcb40214ab..adb98934b93eddcbcff62943e8e3f83bfa169bba 100644
|
| --- a/ui/events/blink/input_handler_proxy_unittest.cc
|
| +++ b/ui/events/blink/input_handler_proxy_unittest.cc
|
| @@ -615,6 +615,19 @@ TEST_P(InputHandlerProxyTest, MouseWheelBlockingListener) {
|
| VERIFY_AND_RESET_MOCKS();
|
| }
|
|
|
| +TEST_P(InputHandlerProxyTest, MouseWheelBlockingAndPassiveListener) {
|
| + expected_disposition_ = InputHandlerProxy::DID_NOT_HANDLE;
|
| + EXPECT_CALL(mock_input_handler_,
|
| + GetEventListenerProperties(cc::EventListenerClass::kMouseWheel))
|
| + .WillOnce(
|
| + testing::Return(cc::EventListenerProperties::kBlockingAndPassive));
|
| +
|
| + WebMouseWheelEvent wheel(WebInputEvent::MouseWheel, WebInputEvent::ControlKey,
|
| + WebInputEvent::TimeStampForTesting);
|
| + EXPECT_EQ(expected_disposition_, input_handler_->HandleInputEvent(wheel));
|
| + VERIFY_AND_RESET_MOCKS();
|
| +}
|
| +
|
| TEST_P(InputHandlerProxyTest, GestureScrollStarted) {
|
| // We shouldn't send any events to the widget for this gesture.
|
| expected_disposition_ = InputHandlerProxy::DID_HANDLE;
|
|
|