HomeSort by relevance Sort by last modified time
    Searched refs:keyboardEvent (Results 1 - 21 of 21) sorted by null

  /external/webkit/Source/WebKit/chromium/tests/
KeyboardTest.cpp 38 #include "KeyboardEvent.h"
60 RefPtr<KeyboardEvent> keyboardEvent = KeyboardEvent::create(evt, 0);
61 return editorImpl.interpretKeyEvent(keyboardEvent.get());
65 void setupKeyDownEvent(WebKeyboardEvent* keyboardEvent,
69 keyboardEvent->windowsKeyCode = keyCode;
70 keyboardEvent->modifiers = modifiers;
71 keyboardEvent->type = WebInputEvent::KeyDown;
72 keyboardEvent->text[0] = keyCode
    [all...]
  /external/webkit/Source/WebKit/chromium/public/mac/
WebInputEventFactory.h 52 WEBKIT_API static WebKeyboardEvent keyboardEvent(NSEvent*);
53 WEBKIT_API static WebKeyboardEvent keyboardEvent(wchar_t character, int modifiers, double timeStampSeconds);
  /external/webkit/Source/WebKit2/WebProcess/WebPage/gtk/
WebPageGtk.cpp 36 #include <WebCore/KeyboardEvent.h>
60 bool WebPage::performDefaultBehaviorForKeyEvent(const WebKeyboardEvent& keyboardEvent)
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/
WebInputEventFactory.h 50 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/win/
WebInputEventFactory.h 46 WEBKIT_API static WebKeyboardEvent keyboardEvent(HWND, UINT, WPARAM, LPARAM);
  /external/webkit/Source/WebKit2/WebProcess/WebPage/win/
WebPageWin.cpp 39 #include <WebCore/KeyboardEvent.h>
165 const char* WebPage::interpretKeyEvent(const KeyboardEvent* evt)
200 bool WebPage::performDefaultBehaviorForKeyEvent(const WebKeyboardEvent& keyboardEvent)
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()
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/mac/
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/WebCore/inspector/front-end/
KeyboardShortcut.js 105 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/qt/
WebPageQt.cpp 33 #include <WebCore/KeyboardEvent.h>
177 const char* WebPage::interpretKeyEvent(const KeyboardEvent* evt)
222 bool WebPage::performDefaultBehaviorForKeyEvent(const WebKeyboardEvent& keyboardEvent)
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/
MediaDocument.cpp 39 #include "KeyboardEvent.h"
172 KeyboardEvent* keyboardEvent = static_cast<KeyboardEvent*>(event);
173 if (keyboardEvent->keyIdentifier() == "U+0020") { // space
  /external/webkit/Source/WebCore/dom/
SelectElement.cpp 35 #include "KeyboardEvent.h"
569 const String& keyIdentifier = static_cast<KeyboardEvent*>(event)->keyIdentifier();
634 int keyCode = static_cast<KeyboardEvent*>(event)->keyCode();
784 const String& keyIdentifier = static_cast<KeyboardEvent*>(event)->keyIdentifier();
    [all...]
  /external/webkit/Source/WebKit/chromium/src/gtk/
WebInputEventFactory.cpp 320 WebKeyboardEvent WebInputEventFactory::keyboardEvent(const GdkEventKey* event)
376 WebKeyboardEvent WebInputEventFactory::keyboardEvent(wchar_t character, int state, double timeStampSeconds)
378 // keyboardEvent(const GdkEventKey*) depends on the GdkEventKey object and
  /external/webkit/Source/WebKit2/PluginProcess/
PluginControllerProxy.cpp 467 void PluginControllerProxy::handleKeyboardEvent(const WebKeyboardEvent& keyboardEvent, bool& handled)
469 handled = m_plugin->handleKeyboardEvent(keyboardEvent);
  /external/webkit/Source/WebKit2/WebProcess/Plugins/
PluginProxy.cpp 305 bool PluginProxy::handleKeyboardEvent(const WebKeyboardEvent& keyboardEvent)
308 if (!m_connection->connection()->sendSync(Messages::PluginControllerProxy::HandleKeyboardEvent(keyboardEvent), Messages::PluginControllerProxy::HandleKeyboardEvent::Reply(handled), m_pluginInstanceID))
  /external/webkit/Source/WebKit/chromium/src/mac/
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/WebKit2/WebProcess/WebPage/
WebPage.cpp 91 #include <WebCore/KeyboardEvent.h>
992 static bool handleKeyEvent(const WebKeyboardEvent& keyboardEvent, Page* page)
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)
1004 CurrentEvent currentEvent(keyboardEvent);
1006 bool handled = handleKeyEvent(keyboardEvent, m_page.get());
1009 handled = performDefaultBehaviorForKeyEvent(keyboardEvent);
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
NetscapePlugin.cpp 691 bool NetscapePlugin::handleKeyboardEvent(const WebKeyboardEvent& keyboardEvent)
695 return platformHandleKeyboardEvent(keyboardEvent);
  /external/webkit/Source/WebKit/chromium/src/
WebViewImpl.cpp 73 #include "KeyboardEvent.h"
    [all...]
  /external/webkit/Source/WebKit/chromium/src/win/
WebInputEventFactory.cpp 99 WebKeyboardEvent WebInputEventFactory::keyboardEvent(HWND hwnd, UINT message,
  /external/webkit/Source/WebKit/gtk/webkit/
webkitwebview.cpp 724 PlatformKeyboardEvent keyboardEvent(event);
729 if (frame->eventHandler()->keyEvent(keyboardEvent))
752 PlatformKeyboardEvent keyboardEvent(event);
753 if (frame->eventHandler()->keyEvent(keyboardEvent))
    [all...]
  /external/webkit/Tools/DumpRenderTree/chromium/
EventSender.cpp 633 webview()->handleInputEvent(WebInputEventFactory::keyboardEvent(0, msg, arguments[1].toInt32(), lparam));
    [all...]

Completed in 454 milliseconds