Searched refs:keyboardEvent (Results 1 - 21 of 21) sorted by relevance

/external/webkit/Source/WebKit/chromium/tests/
H A DKeyboardTest.cpp60 RefPtr<KeyboardEvent> keyboardEvent = KeyboardEvent::create(evt, 0); local
61 return editorImpl.interpretKeyEvent(keyboardEvent.get());
65 void setupKeyDownEvent(WebKeyboardEvent* keyboardEvent, argument
69 keyboardEvent->windowsKeyCode = keyCode;
70 keyboardEvent->modifiers = modifiers;
71 keyboardEvent->type = WebInputEvent::KeyDown;
72 keyboardEvent->text[0] = keyCode;
73 keyboardEvent->setKeyIdentifierFromWindowsKeyCode();
81 WebKeyboardEvent keyboardEvent; local
87 setupKeyDownEvent(&keyboardEvent, keyCod
94 WebKeyboardEvent keyboardEvent; local
102 WebKeyboardEvent keyboardEvent; local
110 WebKeyboardEvent keyboardEvent; local
168 WebKeyboardEvent keyboardEvent; local
[all...]
/external/webkit/Source/WebKit2/WebProcess/WebPage/gtk/
H A DWebPageGtk.cpp60 bool WebPage::performDefaultBehaviorForKeyEvent(const WebKeyboardEvent& keyboardEvent) argument
62 if (keyboardEvent.type() != WebEvent::KeyDown && keyboardEvent.type() != WebEvent::RawKeyDown)
65 switch (keyboardEvent.windowsVirtualKeyCode()) {
67 if (keyboardEvent.shiftKey())
73 scroll(m_page.get(), keyboardEvent.shiftKey() ? ScrollUp : ScrollDown, ScrollByPage);
/external/webkit/Source/WebKit/chromium/public/gtk/
H A DWebInputEventFactory.h50 WEBKIT_API static WebKeyboardEvent keyboardEvent(const GdkEventKey*);
51 WEBKIT_API static WebKeyboardEvent keyboardEvent(wchar_t character, int state, double timeStampSeconds);
/external/webkit/Source/WebKit/chromium/public/mac/
H A DWebInputEventFactory.h52 WEBKIT_API static WebKeyboardEvent keyboardEvent(NSEvent*);
53 WEBKIT_API static WebKeyboardEvent keyboardEvent(wchar_t character, int modifiers, double timeStampSeconds);
/external/webkit/Source/WebKit/chromium/public/win/
H A DWebInputEventFactory.h46 WEBKIT_API static WebKeyboardEvent keyboardEvent(HWND, UINT, WPARAM, LPARAM);
/external/webkit/Source/WebCore/inspector/front-end/
H A DKeyboardShortcut.js105 WebInspector.KeyboardShortcut.makeKeyFromEvent = function(keyboardEvent)
108 if (keyboardEvent.shiftKey)
110 if (keyboardEvent.ctrlKey)
112 if (keyboardEvent.altKey)
114 if (keyboardEvent.metaKey)
116 return WebInspector.KeyboardShortcut._makeKeyFromCodeAndModifiers(keyboardEvent.keyCode, modifiers);
/external/webkit/Source/WebKit2/WebProcess/WebPage/win/
H A DWebPageWin.cpp200 bool WebPage::performDefaultBehaviorForKeyEvent(const WebKeyboardEvent& keyboardEvent) argument
202 if (keyboardEvent.type() != WebEvent::KeyDown && keyboardEvent.type() != WebEvent::RawKeyDown)
205 switch (keyboardEvent.windowsVirtualKeyCode()) {
207 if (keyboardEvent.isSystemKey())
209 if (keyboardEvent.shiftKey())
215 if (keyboardEvent.isSystemKey())
221 if (keyboardEvent.isSystemKey())
227 if (keyboardEvent.isSystemKey())
232 if (keyboardEvent
[all...]
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/mac/
H A DNetscapePluginMac.mm644 static unsigned modifierFlags(const WebKeyboardEvent& keyboardEvent)
648 if (keyboardEvent.capsLockKey())
650 if (keyboardEvent.shiftKey())
652 if (keyboardEvent.controlKey())
654 if (keyboardEvent.altKey())
656 if (keyboardEvent.metaKey())
662 static bool isFlagsChangedEvent(const WebKeyboardEvent& keyboardEvent)
664 switch (keyboardEvent.nativeVirtualKeyCode()) {
684 static NPCocoaEvent initializeKeyboardEvent(const WebKeyboardEvent& keyboardEvent)
688 if (isFlagsChangedEvent(keyboardEvent))
[all...]
/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/
H A DWebPageQt.cpp222 bool WebPage::performDefaultBehaviorForKeyEvent(const WebKeyboardEvent& keyboardEvent) argument
224 if (keyboardEvent.type() != WebEvent::KeyDown && keyboardEvent.type() != WebEvent::RawKeyDown)
227 switch (keyboardEvent.windowsVirtualKeyCode()) {
229 if (keyboardEvent.shiftKey())
235 logicalScroll(m_page.get(), keyboardEvent.shiftKey() ? ScrollBlockDirectionBackward : ScrollBlockDirectionForward, ScrollByPage);
/external/webkit/Source/WebCore/html/
H A DMediaDocument.cpp172 KeyboardEvent* keyboardEvent = static_cast<KeyboardEvent*>(event); local
173 if (keyboardEvent->keyIdentifier() == "U+0020") { // space
/external/webkit/Source/WebCore/dom/
H A DSelectElement.cpp894 KeyboardEvent* keyboardEvent = static_cast<KeyboardEvent*>(event); local
895 if (!keyboardEvent->ctrlKey() && !keyboardEvent->altKey() && !keyboardEvent->metaKey() && isPrintableChar(keyboardEvent->charCode())) {
896 typeAheadFind(data, element, keyboardEvent);
/external/webkit/Source/WebKit/chromium/src/gtk/
H A DWebInputEventFactory.cpp320 WebKeyboardEvent WebInputEventFactory::keyboardEvent(const GdkEventKey* event) function in class:WebKit::WebInputEventFactory
376 WebKeyboardEvent WebInputEventFactory::keyboardEvent(wchar_t character, int state, double timeStampSeconds) function in class:WebKit::WebInputEventFactory
378 // keyboardEvent(const GdkEventKey*) depends on the GdkEventKey object and
/external/webkit/Source/WebKit2/PluginProcess/
H A DPluginControllerProxy.cpp467 void PluginControllerProxy::handleKeyboardEvent(const WebKeyboardEvent& keyboardEvent, bool& handled) argument
469 handled = m_plugin->handleKeyboardEvent(keyboardEvent);
/external/webkit/Source/WebKit2/WebProcess/Plugins/
H A DPluginProxy.cpp305 bool PluginProxy::handleKeyboardEvent(const WebKeyboardEvent& keyboardEvent) argument
308 if (!m_connection->connection()->sendSync(Messages::PluginControllerProxy::HandleKeyboardEvent(keyboardEvent), Messages::PluginControllerProxy::HandleKeyboardEvent::Reply(handled), m_pluginInstanceID))
/external/webkit/Source/WebKit/chromium/src/mac/
H A DWebInputEventFactory.mm536 WebKeyboardEvent WebInputEventFactory::keyboardEvent(NSEvent* event)
608 WebKeyboardEvent WebInputEventFactory::keyboardEvent(wchar_t character,
612 // keyboardEvent(NSEvent*) depends on the NSEvent object and
/external/webkit/Source/WebKit2/WebProcess/WebPage/
H A DWebPage.cpp992 static bool handleKeyEvent(const WebKeyboardEvent& keyboardEvent, Page* page) argument
997 if (keyboardEvent.type() == WebEvent::Char && keyboardEvent.isSystemKey())
998 return page->focusController()->focusedOrMainFrame()->eventHandler()->handleAccessKey(platform(keyboardEvent));
999 return page->focusController()->focusedOrMainFrame()->eventHandler()->keyEvent(platform(keyboardEvent));
1002 void WebPage::keyEvent(const WebKeyboardEvent& keyboardEvent) argument
1004 CurrentEvent currentEvent(keyboardEvent);
1006 bool handled = handleKeyEvent(keyboardEvent, m_page.get());
1009 handled = performDefaultBehaviorForKeyEvent(keyboardEvent);
1011 send(Messages::WebPageProxy::DidReceiveEvent(static_cast<uint32_t>(keyboardEvent
[all...]
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
H A DNetscapePlugin.cpp691 bool NetscapePlugin::handleKeyboardEvent(const WebKeyboardEvent& keyboardEvent) argument
695 return platformHandleKeyboardEvent(keyboardEvent);
/external/webkit/Source/WebKit/chromium/src/win/
H A DWebInputEventFactory.cpp99 WebKeyboardEvent WebInputEventFactory::keyboardEvent(HWND hwnd, UINT message, function in class:WebKit::WebInputEventFactory
/external/webkit/Source/WebKit/chromium/src/
H A DWebViewImpl.cpp1603 WebKeyboardEvent keyboardEvent;
1604 keyboardEvent.type = WebInputEvent::RawKeyDown;
1606 keyboardEvent.modifiers = WebInputEvent::ShiftKey;
1609 keyboardEvent.windowsKeyCode = 0x09;
1610 PlatformKeyboardEventBuilder platformEvent(keyboardEvent);
/external/webkit/Source/WebKit/gtk/webkit/
H A Dwebkitwebview.cpp724 PlatformKeyboardEvent keyboardEvent(event);
729 if (frame->eventHandler()->keyEvent(keyboardEvent))
752 PlatformKeyboardEvent keyboardEvent(event);
753 if (frame->eventHandler()->keyEvent(keyboardEvent))
/external/webkit/Tools/DumpRenderTree/chromium/
H A DEventSender.cpp633 webview()->handleInputEvent(WebInputEventFactory::keyboardEvent(0, msg, arguments[1].toInt32(), lparam));

Completed in 255 milliseconds