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

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

Issue 2723963003: Remove renderer-to-renderer input event forwarding for OOPIFs (Closed)
Patch Set: Correct test expectation Created 3 years, 9 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/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index 1520ff5c1370becdc77471eba821be9dd72a6fe3..10c45df7ae1fb17542f0a8032af5c6f0db165e89 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -873,13 +873,6 @@ WebInputEventResult WebFrameWidgetImpl::handleKeyEvent(
m_suppressNextKeypressEvent = false;
Frame* focusedFrame = focusedCoreFrame();
- if (focusedFrame && focusedFrame->isRemoteFrame()) {
- WebRemoteFrameImpl* webFrame =
- WebRemoteFrameImpl::fromFrame(*toRemoteFrame(focusedFrame));
- webFrame->client()->forwardInputEvent(&event);
- return WebInputEventResult::HandledSystem;
- }
-
if (!focusedFrame || !focusedFrame->isLocalFrame())
return WebInputEventResult::NotHandled;

Powered by Google App Engine
This is Rietveld 408576698