⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 199083 in webkit


Ignore:
Timestamp:
Apr 5, 2016, 4:33:47 PM (11 years ago)
Author:
Beth Dakin
Message:

Make requestCandidatesForSelection available on any EditorClient
​https://bugs.webkit.org/show_bug.cgi?id=156253
-and corresponding-
rdar://problem/24661147

Reviewed by Dean Jackson.

Source/WebCore:

  • loader/EmptyClients.h:
  • page/EditorClient.h:

(WebCore::EditorClient::requestCandidatesForSelection):

Source/WebKit/mac:

  • WebCoreSupport/WebEditorClient.h:
Location:
trunk/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r199081 r199083  
     12016-04-05  Beth Dakin  <bdakin@apple.com>
     2
     3        Make requestCandidatesForSelection available on any EditorClient
     4        https://bugs.webkit.org/show_bug.cgi?id=156253
     5        -and corresponding-
     6        rdar://problem/24661147
     7
     8        Reviewed by Dean Jackson.
     9
     10        * loader/EmptyClients.h:
     11        * page/EditorClient.h:
     12        (WebCore::EditorClient::requestCandidatesForSelection):
     13
    1142016-04-05  Youenn Fablet  <youenn.fablet@crf.canon.fr>
    215
  • trunk/Source/WebCore/loader/EmptyClients.h

    r198306 r199083  
    469469    void didWriteSelectionToPasteboard() override { }
    470470    void getClientPasteboardDataForRange(Range*, Vector<String>&, Vector<RefPtr<SharedBuffer>>&) override { }
     471    void requestCandidatesForSelection(const VisibleSelection&) override { }
    471472
    472473    void registerUndoStep(PassRefPtr<UndoStep>) override;
  • trunk/Source/WebCore/page/EditorClient.h

    r195081 r199083  
    100100    virtual void didWriteSelectionToPasteboard() = 0;
    101101    virtual void getClientPasteboardDataForRange(Range*, Vector<String>& pasteboardTypes, Vector<RefPtr<SharedBuffer>>& pasteboardData) = 0;
     102    virtual void requestCandidatesForSelection(const VisibleSelection&) { }
    102103
    103104    // Notify an input method that a composition was voluntarily discarded by WebCore, so that it could clean up too.
  • trunk/Source/WebKit/mac/ChangeLog

    r199081 r199083  
     12016-04-05  Beth Dakin  <bdakin@apple.com>
     2
     3        Make requestCandidatesForSelection available on any EditorClient
     4        https://bugs.webkit.org/show_bug.cgi?id=156253
     5        -and corresponding-
     6        rdar://problem/24661147
     7
     8        Reviewed by Dean Jackson.
     9
     10        * WebCoreSupport/WebEditorClient.h:
     11
    1122016-04-05  Youenn Fablet  <youenn.fablet@crf.canon.fr>
    213
  • trunk/Source/WebKit/mac/WebCoreSupport/WebEditorClient.h

    r198306 r199083  
    171171
    172172#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200
    173     void requestCandidatesForSelection(const WebCore::VisibleSelection&);
     173    void requestCandidatesForSelection(const WebCore::VisibleSelection&) override;
    174174    void handleRequestedCandidates(NSInteger, NSArray<NSTextCheckingResult *> *);
    175175    void handleAcceptedCandidate(NSTextCheckingResult *);
Note: See TracChangeset for help on using the changeset viewer.