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

Unified Diff: Source/core/page/EventHandler.cpp

Issue 238023004: Focusing iframe window should trigger blur event for oldframe's focused element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated review comments Created 6 years, 8 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 | « LayoutTests/fast/frames/frame-focus-send-blur-expected.txt ('k') | Source/core/page/FocusController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/EventHandler.cpp
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
index 8d33eba40c5b70d75204e2d4f385d2877b167ecb..69a982a8e19f30b2f5e3852d894d8f70ddd6cb44 100644
--- a/Source/core/page/EventHandler.cpp
+++ b/Source/core/page/EventHandler.cpp
@@ -3781,7 +3781,7 @@ void EventHandler::focusDocumentView()
Page* page = m_frame->page();
if (!page)
return;
- page->focusController().setFocusedFrame(m_frame);
+ page->focusController().focusDocumentView(m_frame);
}
unsigned EventHandler::accessKeyModifiers()
« no previous file with comments | « LayoutTests/fast/frames/frame-focus-send-blur-expected.txt ('k') | Source/core/page/FocusController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698