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

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

Issue 17450016: Implementation of CSS3 nav-up/down/left/right properties from CSS3 UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Implementation of CSS3 nav-up/down/left/right properties from CSS3 UI Created 7 years, 6 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: Source/core/page/EventHandler.cpp
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
index e78a8c88f963addeaac8cb10b0c3fc72f625ccf9..3845de7f3bd951621b9489df9e81f1c6bd2c13e6 100644
--- a/Source/core/page/EventHandler.cpp
+++ b/Source/core/page/EventHandler.cpp
@@ -3457,6 +3457,9 @@ void EventHandler::defaultTabEventHandler(KeyboardEvent* event)
if (m_frame->document()->inDesignMode())
return;
+ if (page->focusController()->handleCSSFocusNavigation(focusDirection))
+ return;
esprehn 2013/06/20 19:45:10 Hmm, why doesn't this need to do setDefaultHandled
Krzysztof Olczyk 2013/07/22 14:14:16 Just an omission. Done.
+
if (page->focusController()->advanceFocus(focusDirection, event))
event->setDefaultHandled();
}

Powered by Google App Engine
This is Rietveld 408576698