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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.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/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 58d99bf08470f84e08f6c4da5db64371f285f00c..c1f0d82af6f880b97def064f7da0f74ac10bfd59 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -1128,13 +1128,6 @@ WebInputEventResult WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event) {
}
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