webengine/osswebengine/WebCore/platform/PlatformKeyboardEvent.h
changeset 13 10e98eab6f85
parent 0 dd21522fd290
child 16 a359256acfc6
equal deleted inserted replaced
8:7c90e6132015 13:10e98eab6f85
    61     public:
    61     public:
    62         String text() const { return m_text; }
    62         String text() const { return m_text; }
    63         String unmodifiedText() const { return m_unmodifiedText; }
    63         String unmodifiedText() const { return m_unmodifiedText; }
    64         String keyIdentifier() const { return m_keyIdentifier; }
    64         String keyIdentifier() const { return m_keyIdentifier; }
    65         bool isKeyUp() const { return m_isKeyUp; }
    65         bool isKeyUp() const { return m_isKeyUp; }
       
    66         //***** FL added from r12765 *****//
       
    67         bool isKeyDown() const { return m_isKeyDown; }
       
    68         //**********//
    66         bool isAutoRepeat() const { return m_autoRepeat; }
    69         bool isAutoRepeat() const { return m_autoRepeat; }
    67         void setIsAutoRepeat(bool in) { m_autoRepeat = in; }
    70         void setIsAutoRepeat(bool in) { m_autoRepeat = in; }
    68         int WindowsKeyCode() const { return m_WindowsKeyCode; }
    71         int WindowsKeyCode() const { return m_WindowsKeyCode; }
    69         void setWindowsKeyCode(int code) { m_WindowsKeyCode = code; }
    72         void setWindowsKeyCode(int code) { m_WindowsKeyCode = code; }
    70         bool isKeypad() const { return m_isKeypad; }
    73         bool isKeypad() const { return m_isKeypad; }
    97     private:
   100     private:
    98         String m_text;
   101         String m_text;
    99         String m_unmodifiedText;
   102         String m_unmodifiedText;
   100         String m_keyIdentifier;
   103         String m_keyIdentifier;
   101         bool m_isKeyUp;
   104         bool m_isKeyUp;
       
   105         //***** FL added from r12765 *****//
       
   106         bool m_isKeyDown;
       
   107         //**********//
   102         bool m_autoRepeat;
   108         bool m_autoRepeat;
   103         int m_WindowsKeyCode;
   109         int m_WindowsKeyCode;
   104         bool m_isKeypad;
   110         bool m_isKeypad;
   105         bool m_shiftKey;
   111         bool m_shiftKey;
   106         bool m_ctrlKey;
   112         bool m_ctrlKey;