Home
last modified time | relevance | path

Searched refs:keyboardEvent (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/web/tests/
DKeyboardTest.cpp59 RefPtr<KeyboardEvent> keyboardEvent = KeyboardEvent::create(evt, 0); in interpretKeyEvent() local
60 return Editor::interpretKeyEvent(keyboardEvent.get()); in interpretKeyEvent()
64 void setupKeyDownEvent(WebKeyboardEvent* keyboardEvent, in setupKeyDownEvent() argument
68 keyboardEvent->windowsKeyCode = keyCode; in setupKeyDownEvent()
69 keyboardEvent->modifiers = modifiers; in setupKeyDownEvent()
70 keyboardEvent->type = WebInputEvent::KeyDown; in setupKeyDownEvent()
71 keyboardEvent->text[0] = keyCode; in setupKeyDownEvent()
72 keyboardEvent->setKeyIdentifierFromWindowsKeyCode(); in setupKeyDownEvent()
80 WebKeyboardEvent keyboardEvent; in interpretOSModifierKeyPress() local
86 setupKeyDownEvent(&keyboardEvent, keyCode, osModifier); in interpretOSModifierKeyPress()
[all …]
DWebInputEventFactoryTestMac.mm74 WebKeyboardEvent webEvent = WebInputEventFactory::keyboardEvent(macEvent);
79 webEvent = WebInputEventFactory::keyboardEvent(macEvent);
84 webEvent = WebInputEventFactory::keyboardEvent(macEvent);
89 webEvent = WebInputEventFactory::keyboardEvent(macEvent);
120 WebKeyboardEvent webEvent = WebInputEventFactory::keyboardEvent(macEvent);
DWebInputEventFactoryTestGtk.cpp191 WebKeyboardEvent webEvent = WebInputEventFactory::keyboardEvent(&gdkEvent); in TEST()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DDateTimeFieldElement.cpp64 KeyboardEvent* keyboardEvent = toKeyboardEvent(event); in defaultEventHandler() local
66 handleKeyboardEvent(keyboardEvent); in defaultEventHandler()
67 if (keyboardEvent->defaultHandled()) in defaultEventHandler()
70 defaultKeyboardEventHandler(keyboardEvent); in defaultEventHandler()
71 if (keyboardEvent->defaultHandled()) in defaultEventHandler()
78 void DateTimeFieldElement::defaultKeyboardEventHandler(KeyboardEvent* keyboardEvent) in defaultKeyboardEventHandler() argument
80 if (keyboardEvent->type() != EventTypeNames::keydown) in defaultKeyboardEventHandler()
86 const String& keyIdentifier = keyboardEvent->keyIdentifier(); in defaultKeyboardEventHandler()
94 keyboardEvent->setDefaultHandled(); in defaultKeyboardEventHandler()
104 keyboardEvent->setDefaultHandled(); in defaultKeyboardEventHandler()
[all …]
DDateTimeSymbolicFieldElement.cpp73 void DateTimeSymbolicFieldElement::handleKeyboardEvent(KeyboardEvent* keyboardEvent) in handleKeyboardEvent() argument
75 if (keyboardEvent->type() != EventTypeNames::keypress) in handleKeyboardEvent()
78 const UChar charCode = WTF::Unicode::toLower(keyboardEvent->charCode()); in handleKeyboardEvent()
82 keyboardEvent->setDefaultHandled(); in handleKeyboardEvent()
84 …int index = m_typeAhead.handleEvent(keyboardEvent, TypeAhead::MatchPrefix | TypeAhead::CycleFirstC… in handleKeyboardEvent()
DDateTimeNumericFieldElement.cpp113 void DateTimeNumericFieldElement::handleKeyboardEvent(KeyboardEvent* keyboardEvent) in handleKeyboardEvent() argument
116 if (keyboardEvent->type() != EventTypeNames::keypress) in handleKeyboardEvent()
119 UChar charCode = static_cast<UChar>(keyboardEvent->charCode()); in handleKeyboardEvent()
137 keyboardEvent->setDefaultHandled(); in handleKeyboardEvent()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DKeyboardShortcut.js126 WebInspector.KeyboardShortcut.makeKeyFromEvent = function(keyboardEvent) argument
129 if (keyboardEvent.shiftKey)
131 if (keyboardEvent.ctrlKey)
133 if (keyboardEvent.altKey)
135 if (keyboardEvent.metaKey)
137 …return WebInspector.KeyboardShortcut._makeKeyFromCodeAndModifiers(keyboardEvent.keyCode, modifiers…
DInspectorView.js280 var keyboardEvent = /** @type {!KeyboardEvent} */ (event);
287 …else if (event.keyCode > 0x60 && event.keyCode < 0x6A && keyboardEvent.location === KeyboardEvent.…
DElementsTreeOutline.js548 var keyboardEvent = /** @type {!KeyboardEvent} */ (event);
555 …ent._editing && WebInspector.KeyboardShortcut.hasNoModifiers(keyboardEvent) && keyboardEvent.keyCo…
/external/chromium_org/third_party/WebKit/public/web/mac/
DWebInputEventFactory.h53 BLINK_EXPORT static WebKeyboardEvent keyboardEvent(NSEvent*);
54 …BLINK_EXPORT static WebKeyboardEvent keyboardEvent(wchar_t character, int modifiers, double timeSt…
/external/chromium_org/third_party/WebKit/public/web/gtk/
DWebInputEventFactory.h50 BLINK_EXPORT static WebKeyboardEvent keyboardEvent(const GdkEventKey*);
51 …BLINK_EXPORT static WebKeyboardEvent keyboardEvent(wchar_t character, int state, double timeStampS…
/external/chromium_org/third_party/WebKit/Source/core/html/
DMediaDocument.cpp155 KeyboardEvent* keyboardEvent = toKeyboardEvent(event); in defaultEventHandler() local
156 …if (keyboardEvent->keyIdentifier() == "U+0020" || keyboardEvent->keyCode() == VKEY_MEDIA_PLAY_PAUS… in defaultEventHandler()
DHTMLSelectElement.cpp1457 KeyboardEvent* keyboardEvent = toKeyboardEvent(event); in defaultEventHandler() local
1458 …if (!keyboardEvent->ctrlKey() && !keyboardEvent->altKey() && !keyboardEvent->metaKey() && isPrinta… in defaultEventHandler()
1459 typeAheadFind(keyboardEvent); in defaultEventHandler()
/external/chromium_org/content/browser/renderer_host/
Dnative_web_keyboard_event_mac.mm21 : WebKeyboardEvent(WebInputEventFactory::keyboardEvent(native_event)),
29 : WebKeyboardEvent(WebInputEventFactory::keyboardEvent(character,
/external/chromium_org/third_party/WebKit/public/web/win/
DWebInputEventFactory.h46 BLINK_EXPORT static WebKeyboardEvent keyboardEvent(HWND, UINT, WPARAM, LPARAM);
/external/chromium_org/third_party/WebKit/public/web/android/
DWebInputEventFactory.h56 BLINK_EXPORT static WebKeyboardEvent keyboardEvent(WebInputEvent::Type,
/external/chromium_org/third_party/WebKit/Source/web/
DWebInputEventFactoryAndroid.cpp41 WebKeyboardEvent WebInputEventFactory::keyboardEvent(WebInputEvent::Type type, in keyboardEvent() function in blink::WebInputEventFactory
DWebInputEventFactoryGtk.cpp357 WebKeyboardEvent WebInputEventFactory::keyboardEvent(const GdkEventKey* event) in keyboardEvent() function in blink::WebInputEventFactory
417 WebKeyboardEvent WebInputEventFactory::keyboardEvent(wchar_t character, int state, double timeStamp… in keyboardEvent() function in blink::WebInputEventFactory
DWebDevToolsAgentImpl.cpp315 …PlatformKeyboardEvent keyboardEvent = PlatformKeyboardEventBuilder(*static_cast<const WebKeyboardE… in handleInputEvent() local
316 return ic->handleKeyboardEvent(page->mainFrame(), keyboardEvent); in handleInputEvent()
DWebInputEventFactoryWin.cpp132 WebKeyboardEvent WebInputEventFactory::keyboardEvent(HWND hwnd, UINT message, in keyboardEvent() function in blink::WebInputEventFactory
DWebInputEventFactoryMac.mm783 WebKeyboardEvent WebInputEventFactory::keyboardEvent(NSEvent* event)
850 WebKeyboardEvent WebInputEventFactory::keyboardEvent(wchar_t character,
854 // keyboardEvent(NSEvent*) depends on the NSEvent object and
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DEventSender.cpp725 …webview()->handleInputEvent(WebInputEventFactory::keyboardEvent(0, msg, arguments[1].toInt32(), lp… in dispatchMessage()