Skip to content
  • commit-queue@webkit.org's avatar
    [EFL][WK2] Get rid of C'ism in text checker API · 91462d54
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=100513
    
    Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-26
    Reviewed by Kenneth Rohde Christiansen.
    
    Make Ewk_Text_Checker a C++ class and move the
    WebKitTextChecker code to this new class. This
    gets rid of the C'ism in the text checker code
    and make it consistent with other Ewk classes.
    
    * PlatformEfl.cmake:
    * UIProcess/API/efl/ewk_context.cpp:
    (Ewk_Context::Ewk_Context):
    * UIProcess/API/efl/ewk_settings.cpp:
    (spellCheckingLanguagesSetUpdate):
    (ewk_settings_continuous_spell_checking_enabled_set):
    (ewk_settings_spell_checking_available_languages_get):
    (ewk_settings_spell_checking_languages_get):
    * UIProcess/API/efl/ewk_text_checker.cpp:
    (ClientCallbacks):
    (textCheckerEnchant):
    (clientCallbacks):
    (isContinuousSpellCheckingEnabled):
    (setContinuousSpellCheckingEnabled):
    (uniqueSpellDocumentTag):
    (closeSpellDocumentWithTag):
    (checkSpellingOfString):
    (guessesForWord):
    (learnWord):
    (ignoreWord):
    (Ewk_Text_Checker):
    (Ewk_Text_Checker::availableSpellCheckingLanguages):
    (Ewk_Text_Checker::updateSpellCheckingLanguages):
    (Ewk_Text_Checker::loadedSpellCheckingLanguages):
    (Ewk_Text_Checker::initialize):
    * UIProcess/API/efl/ewk_text_checker_private.h:
    (Ewk_Text_Checker):
    * UIProcess/efl/WebKitTextChecker.cpp: Removed.
    * UIProcess/efl/WebKitTextChecker.h: Removed.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    91462d54