webengine/osswebengine/WebCore/platform/PlatformKeyboardEvent.h
changeset 10 a359256acfc6
parent 5 10e98eab6f85
equal deleted inserted replaced
5:10e98eab6f85 10:a359256acfc6
    57 
    57 
    58 namespace WebCore {
    58 namespace WebCore {
    59 
    59 
    60     class PlatformKeyboardEvent {
    60     class PlatformKeyboardEvent {
    61     public:
    61     public:
       
    62 #if PLATFORM(SYMBIAN)
       
    63         String text() const;
       
    64 #elif
    62         String text() const { return m_text; }
    65         String text() const { return m_text; }
       
    66 #endif //PLATFORM(SYMBIAN)
    63         String unmodifiedText() const { return m_unmodifiedText; }
    67         String unmodifiedText() const { return m_unmodifiedText; }
    64         String keyIdentifier() const { return m_keyIdentifier; }
    68         String keyIdentifier() const { return m_keyIdentifier; }
    65         bool isKeyUp() const { return m_isKeyUp; }
    69         bool isKeyUp() const { return m_isKeyUp; }
    66         //***** FL added from r12765 *****//
    70         //***** FL added from r12765 *****//
    67         bool isKeyDown() const { return m_isKeyDown; }
    71         bool isKeyDown() const { return m_isKeyDown; }
    94 #endif
    98 #endif
    95 
    99 
    96 #if PLATFORM(SYMBIAN)
   100 #if PLATFORM(SYMBIAN)
    97         PlatformKeyboardEvent(TKeyEvent, TEventCode, bool forceAutoRepeat = false );
   101         PlatformKeyboardEvent(TKeyEvent, TEventCode, bool forceAutoRepeat = false );
    98         TKeyEvent symbianEvent() const { return m_symbianEvent; }
   102         TKeyEvent symbianEvent() const { return m_symbianEvent; }
       
   103         bool isNaviKey(TUint code) const;
    99 #endif
   104 #endif
   100     private:
   105     private:
   101         String m_text;
   106         String m_text;
   102         String m_unmodifiedText;
   107         String m_unmodifiedText;
   103         String m_keyIdentifier;
   108         String m_keyIdentifier;