/external/webkit/Source/WebKit/chromium/tests/ |
D | KeyboardTest.cpp | 60 RefPtr<KeyboardEvent> keyboardEvent = KeyboardEvent::create(evt, 0); in interpretKeyEvent() local 61 return editorImpl.interpretKeyEvent(keyboardEvent.get()); in interpretKeyEvent() 65 void setupKeyDownEvent(WebKeyboardEvent* keyboardEvent, in setupKeyDownEvent() argument 69 keyboardEvent->windowsKeyCode = keyCode; in setupKeyDownEvent() 70 keyboardEvent->modifiers = modifiers; in setupKeyDownEvent() 71 keyboardEvent->type = WebInputEvent::KeyDown; in setupKeyDownEvent() 72 keyboardEvent->text[0] = keyCode; in setupKeyDownEvent() 73 keyboardEvent->setKeyIdentifierFromWindowsKeyCode(); in setupKeyDownEvent() 81 WebKeyboardEvent keyboardEvent; in interpretOSModifierKeyPress() local 87 setupKeyDownEvent(&keyboardEvent, keyCode, osModifier); in interpretOSModifierKeyPress() [all …]
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/gtk/ |
D | WebPageGtk.cpp | 60 bool WebPage::performDefaultBehaviorForKeyEvent(const WebKeyboardEvent& keyboardEvent) in performDefaultBehaviorForKeyEvent() argument 62 if (keyboardEvent.type() != WebEvent::KeyDown && keyboardEvent.type() != WebEvent::RawKeyDown) in performDefaultBehaviorForKeyEvent() 65 switch (keyboardEvent.windowsVirtualKeyCode()) { in performDefaultBehaviorForKeyEvent() 67 if (keyboardEvent.shiftKey()) in performDefaultBehaviorForKeyEvent() 73 scroll(m_page.get(), keyboardEvent.shiftKey() ? ScrollUp : ScrollDown, ScrollByPage); in performDefaultBehaviorForKeyEvent()
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/win/ |
D | WebPageWin.cpp | 200 bool WebPage::performDefaultBehaviorForKeyEvent(const WebKeyboardEvent& keyboardEvent) in performDefaultBehaviorForKeyEvent() argument 202 if (keyboardEvent.type() != WebEvent::KeyDown && keyboardEvent.type() != WebEvent::RawKeyDown) in performDefaultBehaviorForKeyEvent() 205 switch (keyboardEvent.windowsVirtualKeyCode()) { in performDefaultBehaviorForKeyEvent() 207 if (keyboardEvent.isSystemKey()) in performDefaultBehaviorForKeyEvent() 209 if (keyboardEvent.shiftKey()) in performDefaultBehaviorForKeyEvent() 215 if (keyboardEvent.isSystemKey()) in performDefaultBehaviorForKeyEvent() 221 if (keyboardEvent.isSystemKey()) in performDefaultBehaviorForKeyEvent() 227 if (keyboardEvent.isSystemKey()) in performDefaultBehaviorForKeyEvent() 232 if (keyboardEvent.isSystemKey()) in performDefaultBehaviorForKeyEvent() 237 if (keyboardEvent.isSystemKey()) in performDefaultBehaviorForKeyEvent() [all …]
|
/external/webkit/Source/WebCore/inspector/front-end/ |
D | KeyboardShortcut.js | 105 WebInspector.KeyboardShortcut.makeKeyFromEvent = function(keyboardEvent) argument 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/qt/ |
D | WebPageQt.cpp | 222 bool WebPage::performDefaultBehaviorForKeyEvent(const WebKeyboardEvent& keyboardEvent) in performDefaultBehaviorForKeyEvent() argument 224 if (keyboardEvent.type() != WebEvent::KeyDown && keyboardEvent.type() != WebEvent::RawKeyDown) in performDefaultBehaviorForKeyEvent() 227 switch (keyboardEvent.windowsVirtualKeyCode()) { in performDefaultBehaviorForKeyEvent() 229 if (keyboardEvent.shiftKey()) in performDefaultBehaviorForKeyEvent() 235 …logicalScroll(m_page.get(), keyboardEvent.shiftKey() ? ScrollBlockDirectionBackward : ScrollBlockD… in performDefaultBehaviorForKeyEvent()
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/mac/ |
D | NetscapePluginMac.mm | 644 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/WebKit/chromium/public/mac/ |
D | WebInputEventFactory.h | 52 WEBKIT_API static WebKeyboardEvent keyboardEvent(NSEvent*); 53 …WEBKIT_API static WebKeyboardEvent keyboardEvent(wchar_t character, int modifiers, double timeStam…
|
/external/webkit/Source/WebKit/chromium/public/gtk/ |
D | WebInputEventFactory.h | 50 WEBKIT_API static WebKeyboardEvent keyboardEvent(const GdkEventKey*); 51 …WEBKIT_API static WebKeyboardEvent keyboardEvent(wchar_t character, int state, double timeStampSec…
|
/external/webkit/Source/WebCore/html/ |
D | MediaDocument.cpp | 172 KeyboardEvent* keyboardEvent = static_cast<KeyboardEvent*>(event); in defaultEventHandler() local 173 if (keyboardEvent->keyIdentifier() == "U+0020") { // space in defaultEventHandler()
|
/external/webkit/Source/WebKit/chromium/public/win/ |
D | WebInputEventFactory.h | 46 WEBKIT_API static WebKeyboardEvent keyboardEvent(HWND, UINT, WPARAM, LPARAM);
|
/external/webkit/Source/WebCore/dom/ |
D | SelectElement.cpp | 894 KeyboardEvent* keyboardEvent = static_cast<KeyboardEvent*>(event); in defaultEventHandler() local 895 …if (!keyboardEvent->ctrlKey() && !keyboardEvent->altKey() && !keyboardEvent->metaKey() && isPrinta… in defaultEventHandler() 896 typeAheadFind(data, element, keyboardEvent); in defaultEventHandler()
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
D | WebPage.cpp | 992 static bool handleKeyEvent(const WebKeyboardEvent& keyboardEvent, Page* page) in handleKeyEvent() argument 997 if (keyboardEvent.type() == WebEvent::Char && keyboardEvent.isSystemKey()) in handleKeyEvent() 998 …>focusController()->focusedOrMainFrame()->eventHandler()->handleAccessKey(platform(keyboardEvent)); in handleKeyEvent() 999 …n page->focusController()->focusedOrMainFrame()->eventHandler()->keyEvent(platform(keyboardEvent)); in handleKeyEvent() 1002 void WebPage::keyEvent(const WebKeyboardEvent& keyboardEvent) in keyEvent() argument 1004 CurrentEvent currentEvent(keyboardEvent); in keyEvent() 1006 bool handled = handleKeyEvent(keyboardEvent, m_page.get()); in keyEvent() 1009 handled = performDefaultBehaviorForKeyEvent(keyboardEvent); in keyEvent() 1011 …send(Messages::WebPageProxy::DidReceiveEvent(static_cast<uint32_t>(keyboardEvent.type()), handled)… in keyEvent()
|
/external/webkit/Source/WebKit/chromium/src/gtk/ |
D | WebInputEventFactory.cpp | 320 WebKeyboardEvent WebInputEventFactory::keyboardEvent(const GdkEventKey* event) in keyboardEvent() function in WebKit::WebInputEventFactory 376 WebKeyboardEvent WebInputEventFactory::keyboardEvent(wchar_t character, int state, double timeStamp… in keyboardEvent() function in WebKit::WebInputEventFactory
|
/external/webkit/Source/WebKit2/PluginProcess/ |
D | PluginControllerProxy.cpp | 467 void PluginControllerProxy::handleKeyboardEvent(const WebKeyboardEvent& keyboardEvent, bool& handle… in handleKeyboardEvent() argument 469 handled = m_plugin->handleKeyboardEvent(keyboardEvent); in handleKeyboardEvent()
|
D | PluginControllerProxy.messages.in | 75 HandleKeyboardEvent(WebKit::WebKeyboardEvent keyboardEvent) -> (bool handled)
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/ |
D | PluginProxy.cpp | 305 bool PluginProxy::handleKeyboardEvent(const WebKeyboardEvent& keyboardEvent) in handleKeyboardEvent() argument 308 …tion()->sendSync(Messages::PluginControllerProxy::HandleKeyboardEvent(keyboardEvent), Messages::Pl… in handleKeyboardEvent()
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
D | NetscapePlugin.cpp | 691 bool NetscapePlugin::handleKeyboardEvent(const WebKeyboardEvent& keyboardEvent) in handleKeyboardEvent() argument 695 return platformHandleKeyboardEvent(keyboardEvent); in handleKeyboardEvent()
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebViewImpl.cpp | 1603 WebKeyboardEvent keyboardEvent; in setInitialFocus() local 1604 keyboardEvent.type = WebInputEvent::RawKeyDown; in setInitialFocus() 1606 keyboardEvent.modifiers = WebInputEvent::ShiftKey; in setInitialFocus() 1609 keyboardEvent.windowsKeyCode = 0x09; in setInitialFocus() 1610 PlatformKeyboardEventBuilder platformEvent(keyboardEvent); in setInitialFocus()
|
/external/webkit/Source/WebKit/chromium/src/win/ |
D | WebInputEventFactory.cpp | 99 WebKeyboardEvent WebInputEventFactory::keyboardEvent(HWND hwnd, UINT message, in keyboardEvent() function in WebKit::WebInputEventFactory
|
/external/webkit/Source/WebKit/chromium/src/mac/ |
D | WebInputEventFactory.mm | 536 WebKeyboardEvent WebInputEventFactory::keyboardEvent(NSEvent* event) 608 WebKeyboardEvent WebInputEventFactory::keyboardEvent(wchar_t character, 612 // keyboardEvent(NSEvent*) depends on the NSEvent object and
|
/external/webkit/Source/WebKit/gtk/webkit/ |
D | webkitwebview.cpp | 724 PlatformKeyboardEvent keyboardEvent(event); in webkit_web_view_key_press_event() local 729 if (frame->eventHandler()->keyEvent(keyboardEvent)) in webkit_web_view_key_press_event() 752 PlatformKeyboardEvent keyboardEvent(event); in webkit_web_view_key_release_event() local 753 if (frame->eventHandler()->keyEvent(keyboardEvent)) in webkit_web_view_key_release_event()
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
D | EventSender.cpp | 633 …webview()->handleInputEvent(WebInputEventFactory::keyboardEvent(0, msg, arguments[1].toInt32(), lp… in dispatchMessage()
|
/external/webkit/Source/WebKit/chromium/ |
D | ChangeLog-2011-02-16 | 8473 (WebKit::WebInputEventFactory::keyboardEvent): 27073 (WebKit::WebInputEventFactory::keyboardEvent): 27235 (WebKit::WebInputEventFactory::keyboardEvent): 27475 (WebKit::WebInputEventFactory::keyboardEvent): 27494 (WebKit::WebInputEventFactory::keyboardEvent): 27503 (WebKit::WebInputEventFactory::keyboardEvent):
|