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

Unified Diff: Source/core/html/HTMLFrameElementBase.cpp

Issue 642203002: Make input event forwarding work in --site-per-process. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove blink prefix Created 6 years, 2 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 | « no previous file | Source/core/page/ChromeClient.h » ('j') | Source/core/page/ChromeClient.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFrameElementBase.cpp
diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp
index c53d22a50dfac1f582225371751363a848cf6299..7ac1c12eb20cb446865a47423627d94028506495 100644
--- a/Source/core/html/HTMLFrameElementBase.cpp
+++ b/Source/core/html/HTMLFrameElementBase.cpp
@@ -31,6 +31,7 @@
#include "core/dom/Document.h"
#include "core/frame/FrameView.h"
#include "core/frame/LocalFrame.h"
+#include "core/frame/RemoteFrame.h"
#include "core/html/parser/HTMLParserIdioms.h"
#include "core/loader/FrameLoader.h"
#include "core/page/ChromeClient.h"
@@ -211,8 +212,8 @@ bool HTMLFrameElementBase::isHTMLContentAttribute(const Attribute& attribute) co
// process. See http://crbug.com/339659.
void HTMLFrameElementBase::defaultEventHandler(Event* event)
{
- if (contentFrame() && contentFrame()->isRemoteFrameTemporary()) {
- contentFrame()->chromeClient().forwardInputEvent(contentFrame(), event);
+ if (contentFrame() && contentFrame()->isRemoteFrame()) {
+ contentFrame()->chromeClient().forwardInputEvent(toRemoteFrame(contentFrame()), event);
return;
}
HTMLFrameOwnerElement::defaultEventHandler(event);
« no previous file with comments | « no previous file | Source/core/page/ChromeClient.h » ('j') | Source/core/page/ChromeClient.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698