Home
last modified time | relevance | path

Searched refs:PlatformKeyboardEvent (Results 1 – 25 of 62) sorted by relevance

123

/external/webkit/WebCore/platform/
DPlatformKeyboardEvent.h68 class PlatformKeyboardEvent : public FastAllocBase {
133 PlatformKeyboardEvent();
134 PlatformKeyboardEvent(NSEvent*);
139 PlatformKeyboardEvent(HWND, WPARAM, LPARAM, Type, bool);
143 PlatformKeyboardEvent(GdkEventKey*);
148 PlatformKeyboardEvent(int keyCode, UChar32 unichar, int repeatCount,
155 PlatformKeyboardEvent(QKeyEvent*);
160 PlatformKeyboardEvent(wxKeyEvent&);
164 PlatformKeyboardEvent(BMessage*);
/external/webkit/WebCore/platform/win/
DKeyEventWin.cpp145 static bool isKeypadEvent(WPARAM code, LPARAM keyData, PlatformKeyboardEvent::Type type) in isKeypadEvent()
147 if (type != PlatformKeyboardEvent::RawKeyDown && type != PlatformKeyboardEvent::KeyUp) in isKeypadEvent()
189 PlatformKeyboardEvent::PlatformKeyboardEvent(HWND, WPARAM code, LPARAM keyData, Type type, bool sys… in PlatformKeyboardEvent() function in WebCore::PlatformKeyboardEvent
206 void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type, bool) in disambiguateKeyDownEvent()
212 bool PlatformKeyboardEvent::currentCapsLockState() in currentCapsLockState()
/external/webkit/WebCore/dom/
DKeyboardEvent.cpp36 static inline const AtomicString& eventTypeForKeyboardEventType(PlatformKeyboardEvent::Type type) in eventTypeForKeyboardEventType()
39 case PlatformKeyboardEvent::KeyUp: in eventTypeForKeyboardEventType()
41 case PlatformKeyboardEvent::RawKeyDown: in eventTypeForKeyboardEventType()
43 case PlatformKeyboardEvent::Char: in eventTypeForKeyboardEventType()
45 case PlatformKeyboardEvent::KeyDown: in eventTypeForKeyboardEventType()
60 KeyboardEvent::KeyboardEvent(const PlatformKeyboardEvent& key, AbstractView* view) in KeyboardEvent()
63 , m_keyEvent(new PlatformKeyboardEvent(key)) in KeyboardEvent()
DKeyboardEvent.h32 class PlatformKeyboardEvent; variable
58 …static PassRefPtr<KeyboardEvent> create(const PlatformKeyboardEvent& platformEvent, AbstractView* … in create()
82 const PlatformKeyboardEvent* keyEvent() const { return m_keyEvent.get(); } in keyEvent()
97 KeyboardEvent(const PlatformKeyboardEvent&, AbstractView*);
102 OwnPtr<PlatformKeyboardEvent> m_keyEvent;
/external/webkit/WebKit/chromium/tests/
DKeyboardTest.cpp55 PlatformKeyboardEvent::Type keyType) in interpretKeyEvent()
88 return interpretKeyEvent(keyboardEvent, PlatformKeyboardEvent::RawKeyDown); in interpretOSModifierKeyPress()
96 return interpretKeyEvent(keyboardEvent, PlatformKeyboardEvent::RawKeyDown); in interpretCtrlKeyPress()
104 return interpretKeyEvent(keyboardEvent, PlatformKeyboardEvent::Char); in interpretTab()
112 return interpretKeyEvent(keyboardEvent, PlatformKeyboardEvent::Char); in interpretNewLine()
172 PlatformKeyboardEvent::RawKeyDown); in TEST_F()
/external/webkit/WebCore/platform/haiku/
DPlatformKeyboardEventHaiku.cpp150 PlatformKeyboardEvent::PlatformKeyboardEvent(BMessage* message) in PlatformKeyboardEvent() function in WebCore::PlatformKeyboardEvent
172 void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type type, bool) in disambiguateKeyDownEvent()
186 bool PlatformKeyboardEvent::currentCapsLockState() in currentCapsLockState()
/external/webkit/WebKit/chromium/src/
DWebInputEventConversion.cpp106 static inline const PlatformKeyboardEvent::Type toPlatformKeyboardEventType(WebInputEvent::Type typ… in toPlatformKeyboardEventType()
110 return PlatformKeyboardEvent::KeyUp; in toPlatformKeyboardEventType()
112 return PlatformKeyboardEvent::KeyDown; in toPlatformKeyboardEventType()
114 return PlatformKeyboardEvent::RawKeyDown; in toPlatformKeyboardEventType()
116 return PlatformKeyboardEvent::Char; in toPlatformKeyboardEventType()
120 return PlatformKeyboardEvent::KeyDown; in toPlatformKeyboardEventType()
DWebAccessibilityObject.cpp340 if (modifiers & PlatformKeyboardEvent::CtrlKey) in keyboardShortcut()
342 if (modifiers & PlatformKeyboardEvent::AltKey) in keyboardShortcut()
344 if (modifiers & PlatformKeyboardEvent::ShiftKey) in keyboardShortcut()
346 if (modifiers & PlatformKeyboardEvent::MetaKey) in keyboardShortcut()
/external/webkit/WebCore/platform/android/
DKeyEventAndroid.cpp213 PlatformKeyboardEvent::PlatformKeyboardEvent(int keyCode, UChar32 unichar, in PlatformKeyboardEvent() function in WebCore::PlatformKeyboardEvent
248 bool PlatformKeyboardEvent::currentCapsLockState() in currentCapsLockState()
254 void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type type, bool backwardCompatibilityMode) in disambiguateKeyDownEvent()
/external/webkit/WebCore/platform/wx/
DKeyboardEventWx.cpp338 PlatformKeyboardEvent::PlatformKeyboardEvent(wxKeyEvent& event) in PlatformKeyboardEvent() function in WebCore::PlatformKeyboardEvent
372 void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type type, bool) in disambiguateKeyDownEvent()
386 bool PlatformKeyboardEvent::currentCapsLockState() in currentCapsLockState()
/external/webkit/WebCore/platform/gtk/
DKeyEventGtk.cpp548 PlatformKeyboardEvent::PlatformKeyboardEvent(GdkEventKey* event) in PlatformKeyboardEvent() function in WebCore::PlatformKeyboardEvent
565 void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type type, bool backwardCompatibilityMode) in disambiguateKeyDownEvent()
583 bool PlatformKeyboardEvent::currentCapsLockState() in currentCapsLockState()
589 GdkEventKey* PlatformKeyboardEvent::gdkEventKey() const in gdkEventKey()
/external/webkit/WebCore/page/chromium/
DEventHandlerChromium.cpp151 return PlatformKeyboardEvent::CtrlKey | PlatformKeyboardEvent::AltKey; in accessKeyModifiers()
153 return PlatformKeyboardEvent::AltKey; in accessKeyModifiers()
/external/webkit/WebKit/wx/WebKitSupport/
DEditorClientWx.cpp380 const PlatformKeyboardEvent* keyEvent = event->keyEvent(); in handleEditingKeyboardEvent()
388 if (keyEvent->type() == PlatformKeyboardEvent::RawKeyDown) { in handleEditingKeyboardEvent()
407 …ASSERT(evt->keyEvent()->type() == PlatformKeyboardEvent::RawKeyDown || evt->keyEvent()->type() == in interpretKeyEvent()
431 if (evt->keyEvent()->type() == PlatformKeyboardEvent::RawKeyDown) { in interpretKeyEvent()
/external/webkit/WebCore/platform/chromium/
DPlatformKeyboardEventChromium.cpp40 void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type type, bool backwardCompatibilityMode) in disambiguateKeyDownEvent()
72 bool PlatformKeyboardEvent::currentCapsLockState() in currentCapsLockState()
DFramelessScrollView.h39 class PlatformKeyboardEvent; variable
62 virtual bool handleKeyEvent(const PlatformKeyboardEvent&) = 0;
DPopupMenuChromium.cpp101 virtual bool handleKeyEvent(const PlatformKeyboardEvent&);
208 void typeAheadFind(const PlatformKeyboardEvent&);
424 bool PopupContainer::handleKeyEvent(const PlatformKeyboardEvent& event) in handleKeyEvent()
611 static bool isCharacterTypeEvent(const PlatformKeyboardEvent& event) in isCharacterTypeEvent()
617 return event.type() == PlatformKeyboardEvent::Char; in isCharacterTypeEvent()
620 bool PopupListBox::handleKeyEvent(const PlatformKeyboardEvent& event) in handleKeyEvent()
622 if (event.type() == PlatformKeyboardEvent::KeyUp) in handleKeyEvent()
711 void PopupListBox::typeAheadFind(const PlatformKeyboardEvent& event) in typeAheadFind()
/external/webkit/WebKit/qt/WebCoreSupport/
DEditorClientQt.cpp362 const PlatformKeyboardEvent* kevent = event->keyEvent(); in handleKeyboardEvent()
363 if (!kevent || kevent->type() == PlatformKeyboardEvent::KeyUp) in handleKeyboardEvent()
380 && kevent->type() == PlatformKeyboardEvent::RawKeyDown) in handleKeyboardEvent()
446 if (kevent->type() != PlatformKeyboardEvent::KeyDown && !kevent->ctrlKey() in handleKeyboardEvent()
466 …if (kevent->type() != PlatformKeyboardEvent::KeyDown && kevent->altKey() && !kevent->text().isEmpt… in handleKeyboardEvent()
/external/webkit/WebKit/android/WebCoreSupport/
DEditorClientAndroid.cpp139 const PlatformKeyboardEvent* keyEvent = evt->keyEvent(); in interpretKeyEvent()
176 const PlatformKeyboardEvent* keyEvent = event->keyEvent(); in handleKeyboardEvent()
183 if (keyEvent->type() == PlatformKeyboardEvent::RawKeyDown) { in handleKeyboardEvent()
/external/webkit/WebCore/platform/qt/
DPlatformKeyboardEventQt.cpp504 PlatformKeyboardEvent::PlatformKeyboardEvent(QKeyEvent* event) in PlatformKeyboardEvent() function in WebCore::PlatformKeyboardEvent
522 void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type type, bool) in disambiguateKeyDownEvent()
546 bool PlatformKeyboardEvent::currentCapsLockState() in currentCapsLockState()
/external/webkit/WebCore/plugins/android/
DPluginViewAndroid.cpp294 const PlatformKeyboardEvent* pke = event->keyEvent(); in handleKeyboardEvent()
305 case PlatformKeyboardEvent::KeyDown: in handleKeyboardEvent()
311 case PlatformKeyboardEvent::RawKeyDown: in handleKeyboardEvent()
314 case PlatformKeyboardEvent::Char: in handleKeyboardEvent()
320 case PlatformKeyboardEvent::KeyUp: in handleKeyboardEvent()
/external/webkit/WebCore/page/
DEventHandler.h59 class PlatformKeyboardEvent; variable
159 bool handleAccessKey(const PlatformKeyboardEvent&);
160 bool keyEvent(const PlatformKeyboardEvent&);
DEventHandler.cpp2013 bool EventHandler::handleAccessKey(const PlatformKeyboardEvent& evt) in handleAccessKey()
2019 ASSERT(!(accessKeyModifiers() & PlatformKeyboardEvent::ShiftKey)); in handleAccessKey()
2020 if ((evt.modifiers() & ~PlatformKeyboardEvent::ShiftKey) != accessKeyModifiers()) in handleAccessKey()
2037 bool EventHandler::keyEvent(const PlatformKeyboardEvent& initialKeyEvent) in keyEvent()
2043 …if (initialKeyEvent.type() == PlatformKeyboardEvent::KeyDown || initialKeyEvent.type() == Platform… in keyEvent()
2070 if (initialKeyEvent.type() == PlatformKeyboardEvent::KeyDown) in keyEvent()
2074 …if (initialKeyEvent.type() == PlatformKeyboardEvent::KeyUp || initialKeyEvent.type() == PlatformKe… in keyEvent()
2080 PlatformKeyboardEvent keyDownEvent = initialKeyEvent; in keyEvent()
2081 if (keyDownEvent.type() != PlatformKeyboardEvent::RawKeyDown) in keyEvent()
2082 …keyDownEvent.disambiguateKeyDownEvent(PlatformKeyboardEvent::RawKeyDown, backwardCompatibilityMode… in keyEvent()
[all …]
/external/webkit/WebKit/android/jni/
DWebViewCore.h54 class PlatformKeyboardEvent; variable
290 bool key(const WebCore::PlatformKeyboardEvent& event);
337 const WebCore::String& , const WebCore::PlatformKeyboardEvent& );
/external/webkit/WebCore/platform/mac/
DKeyEventMac.mm27 #import "PlatformKeyboardEvent.h"
814 PlatformKeyboardEvent::PlatformKeyboardEvent()
827 PlatformKeyboardEvent::PlatformKeyboardEvent(NSEvent *event)
828 : m_type(isKeyUpEvent(event) ? PlatformKeyboardEvent::KeyUp : PlatformKeyboardEvent::KeyDown)
862 void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type type, bool backwardCompatibilityMode)
887 bool PlatformKeyboardEvent::currentCapsLockState()
/external/webkit/WebKit/win/
DAccessibleBase.cpp369 if (modifiers & PlatformKeyboardEvent::CtrlKey) in get_accKeyboardShortcut()
371 if (modifiers & PlatformKeyboardEvent::AltKey) in get_accKeyboardShortcut()
373 if (modifiers & PlatformKeyboardEvent::ShiftKey) in get_accKeyboardShortcut()
375 if (modifiers & PlatformKeyboardEvent::MetaKey) in get_accKeyboardShortcut()

123