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

Unified Diff: third_party/WebKit/Source/core/page/FocusController.cpp

Issue 2377543002: Sequential focus navigation across frames should clear per-document starting point. (Closed)
Patch Set: Created 4 years, 3 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 | « third_party/WebKit/LayoutTests/fast/events/sequential-focus-navigation-starting-point.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/page/FocusController.cpp
diff --git a/third_party/WebKit/Source/core/page/FocusController.cpp b/third_party/WebKit/Source/core/page/FocusController.cpp
index b0d99db2001cebe42ace8ba1a6c558b02fe1d64b..b12d00e65daf5be5c67ba009d8722122e1bcb590 100644
--- a/third_party/WebKit/Source/core/page/FocusController.cpp
+++ b/third_party/WebKit/Source/core/page/FocusController.cpp
@@ -994,6 +994,7 @@ bool FocusController::advanceFocusInDocumentOrder(LocalFrame* frame, Element* st
if (&newDocument != document) {
// Focus is going away from this document, so clear the focused element.
document->clearFocusedElement();
+ document->setSequentialFocusNavigationStartingPoint(nullptr);
}
setFocusedFrame(newDocument.frame());
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/events/sequential-focus-navigation-starting-point.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698