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

Changeset 117752 in webkit


Ignore:
Timestamp:
May 21, 2012, 2:43:48 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] PlatformKeyboardEventEfl is missing ESC key handling.
https://bugs.webkit.org/show_bug.cgi?id=86837

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-05-21
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Added ESC key handling.

  • platform/efl/EflKeyboardUtilities.cpp:

(WebCore::createKeyMap):
(WebCore::singleCharacterString):

Tools:

  • DumpRenderTree/efl/EventSender.cpp:

(keyNameFromJSValue): Added ESC key handling.

LayoutTests:

  • platform/efl/Skipped: Unskipped fast/forms/input-search-press-escape-key.html.
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r117749 r117752  
     12012-05-21  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
     2
     3        [EFL] PlatformKeyboardEventEfl is missing ESC key handling.
     4        https://bugs.webkit.org/show_bug.cgi?id=86837
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        * platform/efl/Skipped: Unskipped fast/forms/input-search-press-escape-key.html.
     9
    1102012-05-18  Ilya Tikhonovsky  <loislo@chromium.org>
    211
  • trunk/LayoutTests/platform/efl/Skipped

    r117701 r117752  
    676676fast/events/key-events-in-input-text.html
    677677fast/events/option-tab.html
    678 fast/forms/input-search-press-escape-key.html
    679678
    680679# BUG: not scrolling correctly
  • trunk/Source/WebCore/ChangeLog

    r117751 r117752  
     12012-05-21  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
     2
     3        [EFL] PlatformKeyboardEventEfl is missing ESC key handling.
     4        https://bugs.webkit.org/show_bug.cgi?id=86837
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        Added ESC key handling.
     9
     10        * platform/efl/EflKeyboardUtilities.cpp:
     11        (WebCore::createKeyMap):
     12        (WebCore::singleCharacterString):
     13
    1142012-05-21  Pavel Feldman  <pfeldman@chromium.org>
    215
  • trunk/Source/WebCore/platform/efl/EflKeyboardUtilities.cpp

    r117238 r117752  
    8585    keyMap().set("BackSpace", "U+0008");
    8686    keyMap().set("space", "U+0020");
     87    keyMap().set("Escape", "U+001B");
    8788    keyMap().set("Print", "PrintScreen");
    8889    // Keypad location
     
    224225    if (keyName == "Print")
    225226        return String("");
     227    if (keyName == "Escape")
     228        return String("\x1b");
     229
    226230    return keyName;
    227231}
  • trunk/Tools/ChangeLog

    r117735 r117752  
     12012-05-21  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
     2
     3        [EFL] PlatformKeyboardEventEfl is missing ESC key handling.
     4        https://bugs.webkit.org/show_bug.cgi?id=86837
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        * DumpRenderTree/efl/EventSender.cpp:
     9        (keyNameFromJSValue): Added ESC key handling.
     10
    1112012-05-20  Carlos Garcia Campos  <cgarcia@igalia.com>
    212
  • trunk/Tools/DumpRenderTree/efl/EventSender.cpp

    r117218 r117752  
    449449    if (charCode == ' ')
    450450        return new KeyEventInfo("space", " ", modifiers);
     451    if (charCode == '\x1B')
     452        return new KeyEventInfo("Escape", "Escape", modifiers);
    451453
    452454    return new KeyEventInfo(character->ustring().utf8(), character->ustring().utf8(), modifiers);
Note: See TracChangeset for help on using the changeset viewer.