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

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

Issue 2036493002: Handle touch accessibility in PageWidgetDelegate instead of WebViewImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@touch_exploration_test
Patch Set: Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/web/PageWidgetDelegate.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 4af64b97e27f4af6cb73fe6aee091ad35d50060c..4aeae5e0aa07abf6626ee7154f7f81abe4f87221 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -2190,22 +2190,6 @@ WebInputEventResult WebViewImpl::handleInputEvent(const WebInputEvent& inputEven
return WebInputEventResult::HandledSuppressed;
}
- if (inputEvent.modifiers & WebInputEvent::IsTouchAccessibility
- && WebInputEvent::isMouseEventType(inputEvent.type)) {
- PlatformMouseEventBuilder pme(mainFrameImpl()->frameView(), static_cast<const WebMouseEvent&>(inputEvent));
-
- // Find the right target frame. See issue 1186900.
- HitTestResult result = hitTestResultForRootFramePos(pme.position());
- if (result.innerNodeFrame()) {
- Document* document = result.innerNodeFrame()->document();
- if (document) {
- AXObjectCache* cache = document->existingAXObjectCache();
- if (cache)
- cache->onTouchAccessibilityHover(result.roundedPointInInnerNodeFrame());
- }
- }
- }
-
// Report the event to be NOT processed by WebKit, so that the browser can handle it appropriately.
if (m_ignoreInputEvents)
return WebInputEventResult::NotHandled;
« no previous file with comments | « third_party/WebKit/Source/web/PageWidgetDelegate.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698