Skip to content
  • rniwa@webkit.org's avatar
    2011-02-07 Ryosuke Niwa <rniwa@webkit.org> · 545c070f
    rniwa@webkit.org authored
            Reviewed by Adam Barth.
    
            Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
            https://bugs.webkit.org/show_bug.cgi?id=52417
    
            Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
            not implemented.
    
            * src/EditorClientImpl.cpp:
            (WebKit::EditorClientImpl::canCopyCut): Added.
            (WebKit::EditorClientImpl::canPaste): Added.
            * src/EditorClientImpl.h:
    2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
    
            Reviewed by Adam Barth.
    
            Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
            https://bugs.webkit.org/show_bug.cgi?id=52417
    
            Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
            not implemented.
    
            * WebCoreSupport/EditorClientQt.cpp:
            (WebCore::EditorClientQt::canCopyCut): Added.
            (WebCore::EditorClientQt::canPaste): Added.
            * WebCoreSupport/EditorClientQt.h:
    2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
    
            Reviewed by Adam Barth.
    
            Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
            https://bugs.webkit.org/show_bug.cgi?id=52417
    
            Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
            not implemented.
    
            * WebCoreSupport/EditorClientGtk.cpp:
            (WebKit::EditorClient::canCopyCut): Added.
            (WebKit::EditorClient::canPaste): Added.
            * WebCoreSupport/EditorClientGtk.h:
    2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
    
            Reviewed by Adam Barth.
    
            Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
            https://bugs.webkit.org/show_bug.cgi?id=52417
    
            Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
            not implemented.
    
            * WebCoreSupport/WebEditorClient.cpp:
            (WebEditorClient::canCopyCut): Added.
            (WebEditorClient::canPaste): Added.
            * WebCoreSupport/WebEditorClient.h:
    2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
    
            Reviewed by Adam Barth.
    
            Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
            https://bugs.webkit.org/show_bug.cgi?id=52417
    
            Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
            not implemented.
    
            * WebKitSupport/EditorClientWx.cpp:
            (WebCore::EditorClientWx::canCopyCut): Added.
            (WebCore::EditorClientWx::canPaste): Added.
            * WebKitSupport/EditorClientWx.h:
    2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
    
            Reviewed by Adam Barth.
    
            Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
            https://bugs.webkit.org/show_bug.cgi?id=52417
    
            Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
            not implemented.
    
            * WebCoreSupport/WebEditorClient.h:
            * WebCoreSupport/WebEditorClient.mm:
            (WebEditorClient::canCopyCut): Added.
            (WebEditorClient::canPaste): Added.
    2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
    
            Reviewed by Adam Barth.
    
            Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
            https://bugs.webkit.org/show_bug.cgi?id=52417
    
            Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
            not implemented.
    
            * WebCoreSupport/EditorClientHaiku.cpp:
            (WebCore::EditorClientHaiku::canCopyCut): Added.
            (WebCore::EditorClientHaiku::canPaste): Added.
            * WebCoreSupport/EditorClientHaiku.h:
    2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
    
            Reviewed by Adam Barth.
    
            Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
            https://bugs.webkit.org/show_bug.cgi?id=52417
    
            Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
            not implemented.
    
            * WebCoreSupport/EditorClientWinCE.cpp:
            (WebKit::EditorClientWinCE::canCopyCut): Added.
            (WebKit::EditorClientWinCE::canPaste): Added.
            * WebCoreSupport/EditorClientWinCE.h:
    2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
    
            Reviewed by Adam Barth.
    
            Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
            https://bugs.webkit.org/show_bug.cgi?id=52417
    
            Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
            not implemented.
    
            * WebCoreSupport/EditorClientEfl.cpp:
            (WebCore::EditorClientEfl::canCopyCut): Added.
            (WebCore::EditorClientEfl::canPaste): Added.
            * WebCoreSupport/EditorClientEfl.h:
    2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
    
            Reviewed by Adam Barth.
    
            Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
            https://bugs.webkit.org/show_bug.cgi?id=52417
    
            Added two callback functions, canCopyCut and canPaste to EditorClient. These functions
            returns true iff the current frame should be able to copy/cut and paste respectively.
            They take the default value determined by isDOMPasteAllowed and javaScriptCanAccessClipboard.
    
            These callbacks allows embedders to decide whether or not copy/cut/paste should be enabled
            per frame and thus per origin rather than per page.
    
            No new tests are added since this is a WebKit/WebCore interface change.
    
            * editing/EditorCommand.cpp:
            (WebCore::supportedCopyCut): Calls canCopyCut.
            (WebCore::supportedPaste): Calls canPaste.
            * loader/EmptyClients.h:
            (WebCore::EmptyEditorClient::canCopyCut): Added.
            (WebCore::EmptyEditorClient::canPaste): Added.
            * page/EditorClient.h:
    2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
    
            Reviewed by Adam Barth.
    
            Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
            https://bugs.webkit.org/show_bug.cgi?id=52417
    
            Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
            not implemented.
    
            * WebProcess/WebCoreSupport/WebEditorClient.cpp:
            (WebKit::WebEditorClient::canCopyCut): Added.
            (WebKit::WebEditorClient::canPaste): Added.
            * WebProcess/WebCoreSupport/WebEditorClient.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    545c070f