Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(856)

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp

Issue 1577263004: Communicate whether passive event listeners exist to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners
Patch Set: Fix nits Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
index 8334f594b156ff7447b2df42defae75210a6e423..60ba3f89516e87dd4a373ae2d4e0fff5987e8b2b 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
@@ -538,9 +538,9 @@ void WebPluginContainerImpl::requestTouchEventType(TouchEventRequestType request
if (m_element->document().frameHost()) {
EventHandlerRegistry& registry = m_element->document().frameHost()->eventHandlerRegistry();
if (requestType != TouchEventRequestTypeNone && m_touchEventRequestType == TouchEventRequestTypeNone)
- registry.didAddEventHandler(*m_element, EventHandlerRegistry::TouchEvent);
+ registry.didAddEventHandler(*m_element, EventHandlerRegistry::TouchEventBlocking);
else if (requestType == TouchEventRequestTypeNone && m_touchEventRequestType != TouchEventRequestTypeNone)
- registry.didRemoveEventHandler(*m_element, EventHandlerRegistry::TouchEvent);
+ registry.didRemoveEventHandler(*m_element, EventHandlerRegistry::TouchEventBlocking);
}
m_touchEventRequestType = requestType;
}
« no previous file with comments | « third_party/WebKit/Source/web/WebPagePopupImpl.cpp ('k') | third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698