Changeset 50051 in webkit


Ignore:
Timestamp:
Oct 26, 2009 3:29:21 AM (15 years ago)
Author:
eric@webkit.org
Message:

2009-10-26 Kinuko Yasuda <kinuko@google.com>

Reviewed by Jan Alonzo.

Bug 30619: [Linux] Menu key doesn't work
https://bugs.webkit.org/show_bug.cgi?id=30619

Test: manual-tests/keyboard-menukey-event.html
No new layout tests: testing this will require changes in the test
controller in a platform-specific way.

  • platform/chromium/KeyCodeConversionGtk.cpp: (WebCore::windowsKeyCodeForKeyEvent): changed switch-case code for GDK_Menu to return VKEY_APPS instead of VKEY_MENU.
  • platform/gtk/KeyEventGtk.cpp: (WebCore::windowsKeyCodeForKeyEvent): changed switch-case code for GDK_Menu to return V_APPS instead of VK_MENU.
Location:
trunk/WebCore
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r50049 r50051  
     12009-10-26  Kinuko Yasuda  <kinuko@google.com>
     2
     3        Reviewed by Jan Alonzo.
     4
     5        Bug 30619: [Linux] Menu key doesn't work
     6        https://bugs.webkit.org/show_bug.cgi?id=30619
     7
     8        Test: manual-tests/keyboard-menukey-event.html
     9        No new layout tests: testing this will require changes in the test
     10        controller in a platform-specific way.
     11
     12        * platform/chromium/KeyCodeConversionGtk.cpp:
     13        (WebCore::windowsKeyCodeForKeyEvent): changed switch-case code for
     14        GDK_Menu to return VKEY_APPS instead of VKEY_MENU.
     15        * platform/gtk/KeyEventGtk.cpp:
     16        (WebCore::windowsKeyCodeForKeyEvent): changed switch-case code for
     17        GDK_Menu to return V_APPS instead of VK_MENU.
     18
    1192009-10-25  Anton Muhin  <antonm@chromium.org>
    220
  • trunk/WebCore/platform/chromium/KeyCodeConversionGtk.cpp

    r47741 r50051  
    9292        return VKEY_CONTROL; // (11) CTRL key
    9393    case GDK_Menu:
     94        return VKEY_APPS;  // (5D) Applications key (Natural keyboard)
    9495    case GDK_Alt_L:
    9596    case GDK_Alt_R:
     
    262263    case GDK_Meta_R:
    263264        return VKEY_RWIN; // (5C) Right Windows key (Natural keyboard)
    264         // VKEY_APPS (5D) Applications key (Natural keyboard)
    265265        // VKEY_SLEEP (5F) Computer Sleep key
    266266        // VKEY_SEPARATOR (6C) Separator key
  • trunk/WebCore/platform/gtk/KeyEventGtk.cpp

    r48964 r50051  
    201201            return VK_CONTROL; // (11) CTRL key
    202202        case GDK_Menu:
     203            return VK_APPS;  // (5D) Applications key (Natural keyboard)
    203204        case GDK_Alt_L:
    204205        case GDK_Alt_R:
     
    371372        case GDK_Meta_R:
    372373            return VK_RWIN; // (5C) Right Windows key (Natural keyboard)
    373             // VK_APPS (5D) Applications key (Natural keyboard)
    374374            // VK_SLEEP (5F) Computer Sleep key
    375375            // VK_SEPARATOR (6C) Separator key
Note: See TracChangeset for help on using the changeset viewer.