Changeset 91118 in webkit
- Timestamp:
- Jul 15, 2011 3:13:24 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r91117 r91118 1 2011-07-15 Tony Chang <tony@chromium.org> 2 3 [chromium] land linux selection color layout test 4 https://bugs.webkit.org/show_bug.cgi?id=64631 5 6 Reviewed by Ojan Vafai. 7 8 * platform/chromium-linux/editing/selection/linux_selection_color.html: Added. 9 1 10 2011-07-15 Vincent Scheib <scheib@chromium.org> 2 11 -
trunk/Tools/ChangeLog
r91106 r91118 1 2011-07-15 Tony Chang <tony@chromium.org> 2 3 [chromium] land linux selection color layout test 4 https://bugs.webkit.org/show_bug.cgi?id=64631 5 6 Reviewed by Ojan Vafai. 7 8 I had removed this code in r76620 because I thought it wasn't used. 9 Turns out there was a layout test in the chromium tree that never 10 got migrated that used it. Re-add the code and land the layout 11 test (I will remove it from the chromium tree soon). 12 13 * DumpRenderTree/chromium/LayoutTestController.cpp: 14 (LayoutTestController::LayoutTestController): 15 (LayoutTestController::forceRedSelectionColors): 16 * DumpRenderTree/chromium/LayoutTestController.h: 17 1 18 2011-07-15 Dimitri Glazkov <dglazkov@chromium.org> 2 19 -
trunk/Tools/DumpRenderTree/chromium/LayoutTestController.cpp
r90137 r91118 113 113 bindMethod("setIsolatedWorldSecurityOrigin", &LayoutTestController::setIsolatedWorldSecurityOrigin); 114 114 bindMethod("execCommand", &LayoutTestController::execCommand); 115 bindMethod("forceRedSelectionColors", &LayoutTestController::forceRedSelectionColors); 115 116 bindMethod("grantDesktopNotificationPermission", &LayoutTestController::grantDesktopNotificationPermission); 116 117 bindMethod("hasSpellingMarker", &LayoutTestController::hasSpellingMarker); … … 1600 1601 } 1601 1602 1603 void LayoutTestController::forceRedSelectionColors(const CppArgumentList& arguments, CppVariant* result) 1604 { 1605 result->setNull(); 1606 m_shell->webView()->setSelectionColors(0xffee0000, 0xff00ee00, 0xff000000, 0xffc0c0c0); 1607 } 1608 1602 1609 void LayoutTestController::addUserScript(const CppArgumentList& arguments, CppVariant* result) 1603 1610 { -
trunk/Tools/DumpRenderTree/chromium/LayoutTestController.h
r90137 r91118 334 334 // Allows layout tests to exec scripts at WebInspector side. 335 335 void evaluateInWebInspector(const CppArgumentList&, CppVariant*); 336 337 // Forces the selection colors for testing under Linux. 338 void forceRedSelectionColors(const CppArgumentList&, CppVariant*); 336 339 337 340 // Adds a user script or user style sheet to be injected into new documents.
Note: See TracChangeset
for help on using the changeset viewer.