Changeset 55585 in webkit


Ignore:
Timestamp:
Mar 5, 2010 8:16:16 AM (14 years ago)
Author:
tonikitoo@webkit.org
Message:

[Gtk] Implement setSpatialNavigationEnabled in DRT.
https://bugs.webkit.org/show_bug.cgi?id=35705

Reviewed by Holger Freyther
Patch by Antonio Gomes <tonikitoo@webkit.org>

WebKitTools:

  • DumpRenderTree/gtk/DumpRenderTree.cpp:

(resetDefaultsToConsistentValues):

  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:

(LayoutTestController::setSpatialNavigationEnabled):

LayoutTests:

  • platform/gtk/Skipped:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r55578 r55585  
     12010-03-03  Antonio Gomes  <tonikitoo@webkit.org>
     2
     3        Reviewed by Holger Freyther
     4        Patch by Antonio Gomes <tonikitoo@webkit.org>
     5
     6        [Gtk] Implement setSpatialNavigationEnabled in DRT.
     7        https://bugs.webkit.org/show_bug.cgi?id=35705
     8
     9        * platform/gtk/Skipped:
     10
    1112010-03-03  Antonio Gomes  <tonikitoo@webkit.org>
    212
  • trunk/LayoutTests/platform/gtk/Skipped

    r55577 r55585  
    58045804fast/dom/Geolocation/permission-denied-stops-watches.html
    58055805fast/dom/Geolocation/permission-denied.html
    5806 
    5807 # Need to add functionality to DumpRenderTree to handle enable/disable Spatial Navigation
    5808 fast/events/spatial-navigation
  • trunk/WebKitTools/ChangeLog

    r55582 r55585  
    112010-03-02  Antonio Gomes  <tonikitoo@webkit.org>
     2
     3        Reviewed by Holger Freyther
     4        Patch by Antonio Gomes <tonikitoo@webkit.org>
     5
     6        [Gtk] Implement setSpatialNavigationEnabled in DRT.
     7        https://bugs.webkit.org/show_bug.cgi?id=35705
     8
     9        * DumpRenderTree/gtk/DumpRenderTree.cpp:
     10        (resetDefaultsToConsistentValues):
     11        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
     12        (LayoutTestController::setSpatialNavigationEnabled):
     13
     142010-02-23  Antonio Gomes  <tonikitoo@webkit.org>
    215
    316        Reviewed by Kenneth Christiansen.
  • trunk/WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp

    r55444 r55585  
    320320                 "enable-html5-local-storage", TRUE,
    321321                 "enable-xss-auditor", FALSE,
     322                 "enable-spatial-navigation", FALSE,
    322323                 "javascript-can-open-windows-automatically", TRUE,
    323324                 "enable-offline-web-application-cache", TRUE,
  • trunk/WebKitTools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp

    r55582 r55585  
    342342void LayoutTestController::setSpatialNavigationEnabled(bool flag)
    343343{
    344     // FIXME: implement
     344    WebKitWebView* view = webkit_web_frame_get_web_view(mainFrame);
     345    ASSERT(view);
     346
     347    WebKitWebSettings* settings = webkit_web_view_get_settings(view);
     348    g_object_set(G_OBJECT(settings), "enable-spatial-navigation", flag, NULL);
    345349}
    346350
Note: See TracChangeset for help on using the changeset viewer.