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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 1954023002: Move asserts in FocusNavigationController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove assertion Created 4 years, 7 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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index be9f12d15210d8861813274e286c3558c15cd091..27b554d2090d510bb6e34ec9200ee7391639e6f3 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -2388,6 +2388,11 @@ void Internals::setInitialFocus(bool reverse)
frame()->page()->focusController().setInitialFocus(reverse ? WebFocusTypeBackward : WebFocusTypeForward);
}
+void Internals::setSequentialFocusNavigationStartingPoint(Node* node)
+{
+ frame()->document()->setSequentialFocusNavigationStartingPoint(node);
+}
+
bool Internals::ignoreLayoutWithPendingStylesheets(Document* document)
{
ASSERT(document);

Powered by Google App Engine
This is Rietveld 408576698