Changeset 55579 in webkit
- Timestamp:
- Mar 5, 2010 7:49:37 AM (14 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/Api/qwebsettings.cpp
r55452 r55579 183 183 global->attributes.value(QWebSettings::PrivateBrowsingEnabled)); 184 184 settings->setPrivateBrowsingEnabled(value); 185 186 value = attributes.value(QWebSettings::SpatialNavigationEnabled, 187 global->attributes.value(QWebSettings::SpatialNavigationEnabled)); 188 settings->setSpatialNavigationEnabled(value); 185 189 186 190 value = attributes.value(QWebSettings::JavascriptCanAccessClipboard, … … 365 369 well as the use of QWebInspector which controls the WebKit WebInspector 366 370 for web site debugging. 371 \value SpatialNavigationEnabled Enables or disables the Spatial Navigation 372 feature, which consists in the ability to navigate between focusable 373 elements in a Web page, such as hyperlinks and form controls, by using 374 Left, Right, Up and Down arrow keys. For example, if an user presses the 375 Right key, heuristics determine whether there is an element he might be 376 trying to reach towards the right, and if there are multiple elements, 377 which element he probably wants. 367 378 \value LinksIncludedInFocusChain Specifies whether hyperlinks should be 368 379 included in the keyboard focus chain. … … 405 416 d->attributes.insert(QWebSettings::DnsPrefetchEnabled, false); 406 417 d->attributes.insert(QWebSettings::JavascriptEnabled, true); 418 d->attributes.insert(QWebSettings::SpatialNavigationEnabled, false); 407 419 d->attributes.insert(QWebSettings::LinksIncludedInFocusChain, true); 408 420 d->attributes.insert(QWebSettings::ZoomTextOnly, false); -
trunk/WebKit/qt/Api/qwebsettings.h
r55273 r55579 72 72 XSSAuditorEnabled, 73 73 AcceleratedCompositingEnabled, 74 WebGLEnabled 74 WebGLEnabled, 75 SpatialNavigationEnabled 75 76 }; 76 77 enum WebGraphic { -
trunk/WebKit/qt/ChangeLog
r55539 r55579 1 2010-03-02 Antonio Gomes <tonikitoo@webkit.org> 2 3 Reviewed by Simon Hausmann. 4 Patch by Antonio Gomes <tonikitoo@webkit.org> 5 6 [Qt] QWebSettings attribute for toggle Spatial Navigation on/off 7 https://bugs.webkit.org/show_bug.cgi?id=33714 (Qt API part) 8 9 Added 'SpatialNavigationEnabled' attribute to QWebSettings. 10 11 * Api/qwebsettings.cpp: 12 (QWebSettingsPrivate::apply): 13 * Api/qwebsettings.h: 14 1 15 2010-03-04 Simon Hausmann <simon.hausmann@nokia.com> 2 16
Note: See TracChangeset
for help on using the changeset viewer.