Changeset 76620 in webkit


Ignore:
Timestamp:
Jan 25, 2011 11:39:58 AM (13 years ago)
Author:
tony@chromium.org
Message:

2011-01-25 Tony Chang <tony@chromium.org>

Reviewed by Dimitri Glazkov.

[chromium] remove unused layoutTestController callback
https://bugs.webkit.org/show_bug.cgi?id=53103

This method is used by a test_shell_test, but not needed by DRT.

  • DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::LayoutTestController):
  • DumpRenderTree/chromium/LayoutTestController.h:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r76584 r76620  
     12011-01-25  Tony Chang  <tony@chromium.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        [chromium] remove unused layoutTestController callback
     6        https://bugs.webkit.org/show_bug.cgi?id=53103
     7
     8        This method is used by a test_shell_test, but not needed by DRT.
     9
     10        * DumpRenderTree/chromium/LayoutTestController.cpp:
     11        (LayoutTestController::LayoutTestController):
     12        * DumpRenderTree/chromium/LayoutTestController.h:
     13
    1142011-01-25  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
    215
  • trunk/Tools/DumpRenderTree/chromium/LayoutTestController.cpp

    r75966 r76620  
    107107    bindMethod("evaluateScriptInIsolatedWorld", &LayoutTestController::evaluateScriptInIsolatedWorld);
    108108    bindMethod("execCommand", &LayoutTestController::execCommand);
    109     bindMethod("forceRedSelectionColors", &LayoutTestController::forceRedSelectionColors);
    110109    bindMethod("grantDesktopNotificationPermission", &LayoutTestController::grantDesktopNotificationPermission);
    111110    bindMethod("isCommandEnabled", &LayoutTestController::isCommandEnabled);
     
    14651464}
    14661465
    1467 void LayoutTestController::forceRedSelectionColors(const CppArgumentList& arguments, CppVariant* result)
    1468 {
    1469     result->setNull();
    1470     m_shell->webView()->setSelectionColors(0xffee0000, 0xff00ee00, 0xff000000, 0xffc0c0c0);
    1471 }
    1472 
    14731466void LayoutTestController::addUserScript(const CppArgumentList& arguments, CppVariant* result)
    14741467{
  • trunk/Tools/DumpRenderTree/chromium/LayoutTestController.h

    r73886 r76620  
    312312    void evaluateInWebInspector(const CppArgumentList&, CppVariant*);
    313313
    314     // Forces the selection colors for testing under Linux.
    315     void forceRedSelectionColors(const CppArgumentList&, CppVariant*);
    316 
    317314    // Adds a user script or user style sheet to be injected into new documents.
    318315    void addUserScript(const CppArgumentList&, CppVariant*);
Note: See TracChangeset for help on using the changeset viewer.