Changeset 173997 in webkit


Ignore:
Timestamp:
Sep 25, 2014 11:24:03 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL][WK2] Minibrowser : Fix the 'Escape' button issue to exit fullscreen
https://bugs.webkit.org/show_bug.cgi?id=136854

Patch by Rohit Kumar <kumar.rohit@samsung.com> on 2014-09-25
Reviewed by Gyuyoung Kim.

'Escape' key should exit fullscreen first and then should be used to stop page load.

  • MiniBrowser/efl/main.c:

(on_key_down):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r173983 r173997  
     12014-09-25  Rohit Kumar  <kumar.rohit@samsung.com>
     2
     3        [EFL][WK2] Minibrowser : Fix the 'Escape' button issue to exit fullscreen
     4        https://bugs.webkit.org/show_bug.cgi?id=136854
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        'Escape' key should exit fullscreen first and then should be used to stop page load.
     9
     10        * MiniBrowser/efl/main.c:
     11        (on_key_down):
     12
    1132014-09-25  Dean Jackson  <dino@apple.com>
    214
  • trunk/Tools/MiniBrowser/efl/main.c

    r173860 r173997  
    546546        info("Reload (F5 or Ctrl+r) was pressed, reloading...");
    547547        ewk_view_reload(ewk_view);
    548     } else if (!strcmp(ev->key, "F6") || !strcmp(ev->key, "Escape")) {
    549         info("Stop (F6 or Escape) was pressed, stop loading.");
     548    } else if (!strcmp(ev->key, "F6")) {
     549        info("Stop (F6) was pressed, stop loading.");
    550550        ewk_view_stop(ewk_view);
    551551    } else if (!strcmp(ev->key, "F7")) {
     
    579579        else if (elm_win_fullscreen_get(window->elm_window))
    580580            ewk_view_fullscreen_exit(ewk_view);
     581        else
     582            ewk_view_stop(ewk_view);
    581583    } else if (ctrlPressed && (!strcmp(ev->key, "minus") || !strcmp(ev->key, "KP_Subtract"))) {
    582584        if (zoom_level_set(ewk_view, window->current_zoom_level - 1))
Note: See TracChangeset for help on using the changeset viewer.