| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Collabora, Ltd. All rights reserved. | 3 * Copyright (C) 2008 Collabora, Ltd. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef PlatformKeyboardEvent_h | 27 #ifndef PlatformKeyboardEvent_h |
| 28 #define PlatformKeyboardEvent_h | 28 #define PlatformKeyboardEvent_h |
| 29 | 29 |
| 30 #include "platform/PlatformEvent.h" | 30 #include "platform/PlatformEvent.h" |
| 31 #include "platform/PlatformExport.h" | 31 #include "platform/PlatformExport.h" |
| 32 #include "wtf/text/WTFString.h" | 32 #include "wtf/text/WTFString.h" |
| 33 | 33 |
| 34 namespace WebCore { | 34 namespace blink { |
| 35 | 35 |
| 36 class PlatformKeyboardEvent : public PlatformEvent { | 36 class PlatformKeyboardEvent : public PlatformEvent { |
| 37 WTF_MAKE_FAST_ALLOCATED; | 37 WTF_MAKE_FAST_ALLOCATED; |
| 38 public: | 38 public: |
| 39 PlatformKeyboardEvent() | 39 PlatformKeyboardEvent() |
| 40 : PlatformEvent(PlatformEvent::KeyDown) | 40 : PlatformEvent(PlatformEvent::KeyDown) |
| 41 , m_windowsVirtualKeyCode(0) | 41 , m_windowsVirtualKeyCode(0) |
| 42 , m_nativeVirtualKeyCode(0) | 42 , m_nativeVirtualKeyCode(0) |
| 43 , m_autoRepeat(false) | 43 , m_autoRepeat(false) |
| 44 , m_isKeypad(false) | 44 , m_isKeypad(false) |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 String m_text; | 93 String m_text; |
| 94 String m_unmodifiedText; | 94 String m_unmodifiedText; |
| 95 String m_keyIdentifier; | 95 String m_keyIdentifier; |
| 96 int m_windowsVirtualKeyCode; | 96 int m_windowsVirtualKeyCode; |
| 97 int m_nativeVirtualKeyCode; | 97 int m_nativeVirtualKeyCode; |
| 98 bool m_autoRepeat; | 98 bool m_autoRepeat; |
| 99 bool m_isKeypad; | 99 bool m_isKeypad; |
| 100 bool m_isSystemKey; | 100 bool m_isSystemKey; |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace WebCore | 103 } // namespace blink |
| 104 | 104 |
| 105 #endif // PlatformKeyboardEvent_h | 105 #endif // PlatformKeyboardEvent_h |
| OLD | NEW |