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

Unified Diff: public/web/WebSettings.h

Issue 16959002: Spatial navigation enhancements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added null checks for document()->settings() 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
« no previous file with comments | « Source/core/html/HTMLElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebSettings.h
diff --git a/public/web/WebSettings.h b/public/web/WebSettings.h
index 94df385ee14f0ea9c4e272c82cdb959d01e63240..78e923b2b1f96663d0ea6edc7265286ce6fddc5c 100644
--- a/public/web/WebSettings.h
+++ b/public/web/WebSettings.h
@@ -148,6 +148,13 @@ public:
virtual void setShowPaintRects(bool) = 0;
virtual void setShrinksStandaloneImagesToFit(bool) = 0;
virtual void setSmartInsertDeleteEnabled(bool) = 0;
+ // Spatial navigation feature, when enabled, improves the experience
+ // of keyboard-controlling the web pages which originally were not designed
+ // for keyboard navigation. It allows to use arrow keys to move focus between
+ // the adjacent HTML elements. As a side effect, it extends the criteria for
+ // elements to be focusable to include any element which has click or keyboard
+ // event handlers specified. User can also trigger click handlers for such
+ // elements using SPACE or ENTER keys.
virtual void setSpatialNavigationEnabled(bool) = 0;
virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) = 0;
virtual void setSupportDeprecatedTargetDensityDPI(bool) = 0;
« no previous file with comments | « Source/core/html/HTMLElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698