webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebKit::WebKit2PlatformKeyboardEvent Class Reference
Inheritance diagram for WebKit::WebKit2PlatformKeyboardEvent:
WebCore::PlatformKeyboardEvent WebCore::PlatformEvent WebCore::PlatformEvent

Public Member Functions

 WebKit2PlatformKeyboardEvent (const WebKeyboardEvent &webEvent)
 
- Public Member Functions inherited from WebCore::PlatformKeyboardEvent
 PlatformKeyboardEvent ()
 
 PlatformKeyboardEvent (Type type, const String &text, const String &unmodifiedText, const String &keyIdentifier, int windowsVirtualKeyCode, bool isAutoRepeat, bool isKeypad, bool isSystemKey, OptionSet< Modifier > modifiers, double timestamp)
 
WEBCORE_EXPORT void disambiguateKeyDownEvent (Type, bool backwardCompatibilityMode=false)
 
String text () const
 
String unmodifiedText () const
 
String keyIdentifier () const
 
int windowsVirtualKeyCode () const
 
void setWindowsVirtualKeyCode (int code)
 
bool isAutoRepeat () const
 
bool isKeypad () const
 
bool isSystemKey () const
 
 PlatformKeyboardEvent ()
 
 PlatformKeyboardEvent (Type type, const String &text, const String &unmodifiedText, const String &keyIdentifier, int windowsVirtualKeyCode, bool isAutoRepeat, bool isKeypad, bool isSystemKey, OptionSet< Modifier > modifiers, double timestamp)
 
WEBCORE_EXPORT void disambiguateKeyDownEvent (Type, bool backwardCompatibilityMode=false)
 
String text () const
 
String unmodifiedText () const
 
String keyIdentifier () const
 
int windowsVirtualKeyCode () const
 
void setWindowsVirtualKeyCode (int code)
 
bool isAutoRepeat () const
 
bool isKeypad () const
 
bool isSystemKey () const
 
- Public Member Functions inherited from WebCore::PlatformEvent
Type type () const
 
bool shiftKey () const
 
bool ctrlKey () const
 
bool altKey () const
 
bool metaKey () const
 
OptionSet< Modifiermodifiers () const
 
double timestamp () const
 
Type type () const
 
bool shiftKey () const
 
bool ctrlKey () const
 
bool altKey () const
 
bool metaKey () const
 
OptionSet< Modifiermodifiers () const
 
double timestamp () const
 

Additional Inherited Members

- Public Types inherited from WebCore::PlatformEvent
enum  Type : uint8_t {
  NoType = 0, KeyDown, KeyUp, RawKeyDown,
  Char, MouseMoved, MousePressed, MouseReleased,
  MouseForceChanged, MouseForceDown, MouseForceUp, MouseScroll,
  Wheel, NoType = 0, KeyDown, KeyUp,
  RawKeyDown, Char, MouseMoved, MousePressed,
  MouseReleased, MouseForceChanged, MouseForceDown, MouseForceUp,
  MouseScroll, Wheel
}
 
enum  Modifier {
  Modifier::AltKey = 1 << 0, Modifier::CtrlKey = 1 << 1, Modifier::MetaKey = 1 << 2, Modifier::ShiftKey = 1 << 3,
  Modifier::CapsLockKey = 1 << 4, Modifier::AltKey = 1 << 0, Modifier::CtrlKey = 1 << 1, Modifier::MetaKey = 1 << 2,
  Modifier::ShiftKey = 1 << 3, Modifier::CapsLockKey = 1 << 4
}
 
enum  Type : uint8_t {
  NoType = 0, KeyDown, KeyUp, RawKeyDown,
  Char, MouseMoved, MousePressed, MouseReleased,
  MouseForceChanged, MouseForceDown, MouseForceUp, MouseScroll,
  Wheel, NoType = 0, KeyDown, KeyUp,
  RawKeyDown, Char, MouseMoved, MousePressed,
  MouseReleased, MouseForceChanged, MouseForceDown, MouseForceUp,
  MouseScroll, Wheel
}
 
enum  Modifier {
  Modifier::AltKey = 1 << 0, Modifier::CtrlKey = 1 << 1, Modifier::MetaKey = 1 << 2, Modifier::ShiftKey = 1 << 3,
  Modifier::CapsLockKey = 1 << 4, Modifier::AltKey = 1 << 0, Modifier::CtrlKey = 1 << 1, Modifier::MetaKey = 1 << 2,
  Modifier::ShiftKey = 1 << 3, Modifier::CapsLockKey = 1 << 4
}
 
- Static Public Member Functions inherited from WebCore::PlatformKeyboardEvent
static bool currentCapsLockState ()
 
static void getCurrentModifierState (bool &shiftKey, bool &ctrlKey, bool &altKey, bool &metaKey)
 
static bool currentCapsLockState ()
 
static void getCurrentModifierState (bool &shiftKey, bool &ctrlKey, bool &altKey, bool &metaKey)
 
- Protected Member Functions inherited from WebCore::PlatformEvent
 PlatformEvent ()
 
 PlatformEvent (Type type)
 
 PlatformEvent (Type type, OptionSet< Modifier > modifiers, double timestamp)
 
 PlatformEvent (Type type, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, double timestamp)
 
 ~PlatformEvent ()
 
 PlatformEvent ()
 
 PlatformEvent (Type type)
 
 PlatformEvent (Type type, OptionSet< Modifier > modifiers, double timestamp)
 
 PlatformEvent (Type type, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, double timestamp)
 
 ~PlatformEvent ()
 
- Protected Attributes inherited from WebCore::PlatformKeyboardEvent
String m_text
 
String m_unmodifiedText
 
String m_keyIdentifier
 
int m_windowsVirtualKeyCode
 
bool m_autoRepeat
 
bool m_isKeypad
 
bool m_isSystemKey
 
- Protected Attributes inherited from WebCore::PlatformEvent
unsigned m_type
 
OptionSet< Modifierm_modifiers
 
double m_timestamp
 

Constructor & Destructor Documentation

◆ WebKit2PlatformKeyboardEvent()

WebKit::WebKit2PlatformKeyboardEvent::WebKit2PlatformKeyboardEvent ( const WebKeyboardEvent webEvent)
inline

The documentation for this class was generated from the following file: