• mrobinson@webkit.org's avatar
    2010-05-20 Martin Robinson <mrobinson@webkit.org> · 255a8cf1
    mrobinson@webkit.org authored
            Reviewed by Ojan Vafai.
    
            Expose the editing behavior setting in DRT to test all editing code paths
            https://bugs.webkit.org/show_bug.cgi?id=38603
    
            * editing/selection/extend-selection-after-double-click.html: Use the new DRT support for changing editing behavior.
            * editing/selection/extend-selection-after-double-click-expected.txt: Update expected results to reflect both behaviors.
    2010-05-20  Martin Robinson  <mrobinson@webkit.org>
    
            Reviewed by Ojan Vafai.
    
            Expose the editing behavior setting in DRT to test all editing code paths
            https://bugs.webkit.org/show_bug.cgi?id=38603
    
            * public/WebSettings.h:
            (WebKit::WebSettings::): Added an enum for EditingBehavior types.
            * src/WebSettingsImpl.cpp:
            (WebKit::WebSettingsImpl::setEditingBehavior): Added.
            * src/WebSettingsImpl.h:
    2010-05-20  Martin Robinson  <mrobinson@webkit.org>
    
            Reviewed by Ojan Vafai.
    
            Expose the editing behavior setting in DRT to test all editing code paths
            https://bugs.webkit.org/show_bug.cgi?id=38603
    
            * WebView/WebFrame.mm:
            (core):
            * WebView/WebFrameInternal.h: Added a conversion method from the API enum to the WebCore enum.
            * WebView/WebPreferenceKeysPrivate.h: Added a preference key for the new setting.
            * WebView/WebPreferences.mm:
            (+[WebPreferences initialize]): Initialize the EditingBehavior to Mac style.
            (-[WebPreferences editingBehavior]): Added.
            (-[WebPreferences setEditingBehavior:]): Added.
            * WebView/WebPreferencesPrivate.h: Added the new API points to the private API.
            * WebView/WebView.mm:
            (-[WebView _preferencesChangedNotification:]): Set the editing behavior via the WebPreferences setting.
    2010-05-20  Martin Robinson  <mrobinson@webkit.org>
    
            Reviewed by Ojan Vafai.
    
            Expose the editing behavior setting in DRT to test all editing code paths
            https://bugs.webkit.org/show_bug.cgi?id=38603
    
            Expose the EditingBehavior setting in the Windows API.
    
            * Interfaces/IWebPreferences.idl: Add the API point for setting the editing behavior.
            * WebPreferenceKeysPrivate.h: Add a key for the editing behavior setting.
            * WebPreferences.cpp:
            (WebPreferences::editingBehavior): Added.
            (WebPreferences::setEditingBehavior): Added.
            * WebPreferences.h: Add method declarations.
            * WebView.cpp:
            (WebView::notifyPreferencesChanged): Update the WebCore setting based on the WebPreferences setting.
    2010-05-20  Martin Robinson  <mrobinson@webkit.org>
    
            Reviewed by Ojan Vafai.
    
            Expose the editing behavior setting in DRT to test all editing code paths
            https://bugs.webkit.org/show_bug.cgi?id=38603
    
            * DumpRenderTree/LayoutTestController.cpp:
            (setEditingBehaviorCallback): Added.
            (LayoutTestController::staticFunctions): Expose the setEditingBehaviorCallback function.
            * DumpRenderTree/LayoutTestController.h:
            * DumpRenderTree/chromium/LayoutTestController.cpp: Add callback method for setting editing behavior.
            * DumpRenderTree/chromium/LayoutTestController.h: Declaration for this method.
            * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
            (LayoutTestController::setEditingBehavior): Implementation of editing behavior control.
            * DumpRenderTree/mac/LayoutTestControllerMac.mm:
            (LayoutTestController::setEditingBehavior): Ditto
            * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
            (LayoutTestController::setEditingBehavior): Added stub implementation of editing behavior control.
            * DumpRenderTree/qt/LayoutTestControllerQt.h:
            (LayoutTestController::setEditingBehavior): Add slot for controlling editor behavior.
            * DumpRenderTree/win/LayoutTestControllerWin.cpp:
            (LayoutTestController::setEditingBehavior): Implementation of editing behavior control.
            * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
            (LayoutTestController::setEditingBehavior): Added stub implementation of editing behavior control.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    255a8cf1
ChangeLog 1.08 MB