Skip to content
  • commit-queue@webkit.org's avatar
    [BlackBerry] Support async spellcheck for the blackberry port · e828e9fc
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=92160
    
    Source/WebCore:
    
    Set USE_UNIFIED_TEXT_CHECKING for PLATFORM(BLACKBERRY) to use the
    asynchronous spellchecking code path.
    
    Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-07-26
    Reviewed by Rob Buis.
    
    Internally reviewed by Mike Fenton.
    
    * platform/text/TextChecking.h:
    (WebCore):
    
    Source/WebKit/blackberry:
    
    PR124517
    Implementing support for async spellcheck.
    
    Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-07-26
    Reviewed by Rob Buis.
    
    Internally reviewed by Mike Fenton.
    
    * Api/WebPage.cpp:
    (BlackBerry::WebKit::WebPage::spellCheckingRequestCancelled):
    (WebKit):
    (BlackBerry::WebKit::WebPage::spellCheckingRequestProcessed):
    (BlackBerry::WebKit::WebPagePrivate::didChangeSettings):
    * Api/WebPage.h:
    * Api/WebSettings.cpp:
    (WebKit):
    (BlackBerry::WebKit::WebSettings::standardSettings):
    (BlackBerry::WebKit::WebSettings::isAsynchronousSpellCheckingEnabled):
    (BlackBerry::WebKit::WebSettings::setAsynchronousSpellCheckingEnabled):
    * Api/WebSettings.h:
    * WebCoreSupport/EditorClientBlackBerry.cpp:
    (WebCore):
    (WebCore::EditorClientBlackBerry::requestCheckingOfString):
    (WebCore::EditorClientBlackBerry::checkTextOfParagraph):
    * WebCoreSupport/EditorClientBlackBerry.h:
    (EditorClientBlackBerry):
    * WebKitSupport/InputHandler.cpp:
    (BlackBerry::WebKit::InputHandler::requestCheckingOfString):
    (BlackBerry::WebKit::InputHandler::convertTransactionIdToSequenceId):
    (WebKit):
    (BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed):
    (BlackBerry::WebKit::InputHandler::spellCheckingRequestCancelled):
    (BlackBerry::WebKit::InputHandler::getSpellChecker):
    * WebKitSupport/InputHandler.h:
    (WebCore):
    (InputHandler):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e828e9fc