Changeset 55582 in webkit
- Timestamp:
- Mar 5, 2010 8:04:42 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r55581 r55582 1 1 2010-03-02 Antonio Gomes <tonikitoo@webkit.org> 2 3 Reviewed by Kenneth Christiansen. 4 Patch by Antonio Gomes <tonikitoo@webkit.org> 5 6 Add toggle on/off stub methods for Spatial Navigation in win, gtk and mac LayoutTestController class implementations. 7 https://bugs.webkit.org/show_bug.cgi?id=35699 8 9 * DumpRenderTree/LayoutTestController.cpp: 10 (setSpatialNavigationEnabledCallback): 11 (LayoutTestController::staticFunctions): 12 * DumpRenderTree/LayoutTestController.h: 13 * DumpRenderTree/gtk/DumpRenderTree.cpp: 14 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 15 (LayoutTestController::setSpatialNavigationEnabled): 16 * DumpRenderTree/mac/LayoutTestControllerMac.mm: 17 (LayoutTestController::setSpatialNavigationEnabled): 18 * DumpRenderTree/win/LayoutTestControllerWin.cpp: 19 (LayoutTestController::setSpatialNavigationEnabled): 20 21 2010-02-18 Antonio Gomes <tonikitoo@webkit.org> 2 22 3 23 Reviewed by Kenneth Christiansen. -
trunk/WebKitTools/DumpRenderTree/LayoutTestController.cpp
r55375 r55582 914 914 return JSValueMakeUndefined(context); 915 915 } 916 917 static JSValueRef setSpatialNavigationEnabledCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 918 { 919 if (argumentCount < 1) 920 return JSValueMakeUndefined(context); 921 922 LayoutTestController* controller = static_cast<LayoutTestController*>(JSObjectGetPrivate(thisObject)); 923 controller->setSpatialNavigationEnabled(JSValueToBoolean(context, arguments[0])); 924 925 return JSValueMakeUndefined(context); 926 } 927 916 928 917 929 static JSValueRef setFrameSetFlatteningEnabledCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) … … 1442 1454 { "setPrivateBrowsingEnabled", setPrivateBrowsingEnabledCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 1443 1455 { "setXSSAuditorEnabled", setXSSAuditorEnabledCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 1456 { "setSpatialNavigationEnabled", setSpatialNavigationEnabledCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 1444 1457 { "setFrameSetFlatteningEnabled", setFrameSetFlatteningEnabledCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, 1445 1458 { "setSelectTrailingWhitespaceEnabled", setSelectTrailingWhitespaceEnabledCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete }, -
trunk/WebKitTools/DumpRenderTree/LayoutTestController.h
r55375 r55582 93 93 void setXSSAuditorEnabled(bool flag); 94 94 void setFrameSetFlatteningEnabled(bool enable); 95 void setSpatialNavigationEnabled(bool enable); 95 96 96 97 void waitForPolicyDelegate(); -
trunk/WebKitTools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp
r55375 r55582 340 340 } 341 341 342 void LayoutTestController::setSpatialNavigationEnabled(bool flag) 343 { 344 // FIXME: implement 345 } 346 342 347 void LayoutTestController::setAllowUniversalAccessFromFileURLs(bool flag) 343 348 { -
trunk/WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm
r55375 r55582 330 330 } 331 331 332 void LayoutTestController::setSpatialNavigationEnabled(bool enabled) 333 { 334 // FIXME: Implement for SpatialNavigation layout tests. 335 } 336 332 337 void LayoutTestController::setAllowUniversalAccessFromFileURLs(bool enabled) 333 338 { -
trunk/WebKitTools/DumpRenderTree/win/LayoutTestControllerWin.cpp
r55375 r55582 390 390 } 391 391 392 void LayoutTestController::setSpatialNavigationEnabled(bool enabled) 393 { 394 // FIXME: Implement for SpatialNavigation layout tests. 395 } 396 392 397 void LayoutTestController::setAllowUniversalAccessFromFileURLs(bool enabled) 393 398 {
Note: See TracChangeset
for help on using the changeset viewer.