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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2764313002: Move plugins to be stored in HTMLPlugInElement. (Closed)
Patch Set: 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/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 4b13bb38c904c0136d401125492162169f56e062..e4ba1f1483a524bc375549e7e064f7863525906b 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -4044,6 +4044,7 @@ bool Document::setFocusedElement(Element* prpNewFocusedElement,
}
}
+ // TODO(joelhockey): Do we need spcial handling for plugins?
dcheng 2017/03/23 07:21:42 Unfortunately, I'm pretty sure the answer here is
joelhockey 2017/03/27 06:42:21 I can confirm that plugin is expecting a call here
if (view()) {
FrameViewBase* oldFrameViewBase =
frameViewBaseForElement(*oldFocusedElement);
@@ -4120,6 +4121,7 @@ bool Document::setFocusedElement(Element* prpNewFocusedElement,
// eww, I suck. set the qt focus correctly
// ### find a better place in the code for this
if (view()) {
+ // TODO(joelhockey): Do we need special handling for plugins?
FrameViewBase* focusFrameViewBase =
frameViewBaseForElement(*m_focusedElement);
if (focusFrameViewBase) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | third_party/WebKit/Source/core/frame/FrameView.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698