Changeset 148084 in webkit


Ignore:
Timestamp:
Apr 10, 2013 12:55:54 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] Add spell checking option to MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=114282

Patch by Artur Moryc <a.moryc@samsung.com> on 2013-04-10
Reviewed by Ryosuke Niwa.

Spell checking is enabled by adding a flag (t/text-checking)
with launching MiniBrowser.

  • MiniBrowser/efl/main.c:

(window_create):
(elm_main):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r148083 r148084  
     12013-04-10  Artur Moryc  <a.moryc@samsung.com>
     2
     3        [EFL] Add spell checking option to MiniBrowser
     4        https://bugs.webkit.org/show_bug.cgi?id=114282
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Spell checking is enabled by adding a flag (t/text-checking)
     9        with launching MiniBrowser.
     10
     11        * MiniBrowser/efl/main.c:
     12        (window_create):
     13        (elm_main):
     14
    1152013-04-10  Zan Dobersek  <zdobersek@igalia.com>
    216
  • trunk/Tools/MiniBrowser/efl/main.c

    r148025 r148084  
    5050static Eina_Bool local_storage_enabled = EINA_TRUE;
    5151static Eina_Bool fullscreen_enabled = EINA_FALSE;
     52static Eina_Bool spell_checking_enabled = EINA_FALSE;
    5253static int window_width = 800;
    5354static int window_height = 600;
     
    150151        ECORE_GETOPT_STORE_DEF_BOOL
    151152            ('F', "full-screen", "start in full-screen.", EINA_FALSE),
     153        ECORE_GETOPT_STORE_DEF_BOOL
     154            ('t', "text-checking", "text spell checking enabled", EINA_TRUE),
    152155        ECORE_GETOPT_VERSION
    153156            ('V', "version"),
     
    14491452    ewk_settings_developer_extras_enabled_set(settings, EINA_TRUE);
    14501453    ewk_settings_preferred_minimum_contents_width_set(settings, 0);
     1454    ewk_settings_continuous_spell_checking_enabled_set(spell_checking_enabled);
    14511455
    14521456    evas_object_smart_callback_add(window->ewk_view, "authentication,request", on_authentication_request, window);
     
    15311535        ECORE_GETOPT_VALUE_BOOL(local_storage_enabled),
    15321536        ECORE_GETOPT_VALUE_BOOL(fullscreen_enabled),
     1537        ECORE_GETOPT_VALUE_BOOL(spell_checking_enabled),
    15331538        ECORE_GETOPT_VALUE_BOOL(quitOption),
    15341539        ECORE_GETOPT_VALUE_BOOL(quitOption),
Note: See TracChangeset for help on using the changeset viewer.