Changeset 54930 in webkit


Ignore:
Timestamp:
Feb 17, 2010 10:12:07 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-02-17 Kwang Yul Seo <skyul@company100.net>

Reviewed by Eric Seidel.

[BREWMP] Port PlatformKeyboardEvent
https://bugs.webkit.org/show_bug.cgi?id=34794

Retrieve the type, key code, text and modifiers from BREW's keyboard event.

  • platform/PlatformKeyboardEvent.h:
  • platform/brew/PlatformKeyboardEventBrew.cpp: Added. (WebCore::keyIdentifierForBrewKeyCode): (WebCore::windowsKeyCodeForKeyEvent): (WebCore::singleCharacterString): (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent): (WebCore::PlatformKeyboardEvent::disambiguateKeyDownEvent): (WebCore::PlatformKeyboardEvent::currentCapsLockState):
Location:
trunk/WebCore
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r54929 r54930  
     12010-02-17  Kwang Yul Seo  <skyul@company100.net>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [BREWMP] Port PlatformKeyboardEvent
     6        https://bugs.webkit.org/show_bug.cgi?id=34794
     7
     8        Retrieve the type, key code, text and modifiers from BREW's keyboard event.
     9
     10        * platform/PlatformKeyboardEvent.h:
     11        * platform/brew/PlatformKeyboardEventBrew.cpp: Added.
     12        (WebCore::keyIdentifierForBrewKeyCode):
     13        (WebCore::windowsKeyCodeForKeyEvent):
     14        (WebCore::singleCharacterString):
     15        (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
     16        (WebCore::PlatformKeyboardEvent::disambiguateKeyDownEvent):
     17        (WebCore::PlatformKeyboardEvent::currentCapsLockState):
     18
    1192010-02-17  Hayato Ito  <hayato@chromium.org>
    220
  • trunk/WebCore/platform/PlatformKeyboardEvent.h

    r52063 r54930  
    6464#endif
    6565
     66#if PLATFORM(BREWMP)
     67typedef unsigned short    uint16;
     68typedef unsigned long int uint32;
     69#define AEEEvent uint16
     70#endif
     71
    6672namespace WebCore {
    6773
     
    158164#endif
    159165
     166#if PLATFORM(BREWMP)
     167        PlatformKeyboardEvent(AEEEvent, uint16, uint32, Type);
     168#endif
     169
    160170#if PLATFORM(WIN) || PLATFORM(CHROMIUM)
    161171        bool isSystemKey() const { return m_isSystemKey; }
Note: See TracChangeset for help on using the changeset viewer.