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

  /external/chromium_org/third_party/WebKit/Source/web/tests/
KeyboardTest.cpp 39 #include "core/events/KeyboardEvent.h"
59 RefPtr<KeyboardEvent> keyboardEvent = KeyboardEvent::create(evt, 0);
60 return Editor::interpretKeyEvent(keyboardEvent.get());
64 void setupKeyDownEvent(WebKeyboardEvent* keyboardEvent,
68 keyboardEvent->windowsKeyCode = keyCode;
69 keyboardEvent->modifiers = modifiers;
70 keyboardEvent->type = WebInputEvent::KeyDown;
71 keyboardEvent->text[0] = keyCode
    [all...]
WebInputEventFactoryTestMac.mm 38 #include "core/events/KeyboardEvent.h"
74 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);
WebInputEventFactoryTestGtk.cpp 40 #include "core/events/KeyboardEvent.h"
191 WebKeyboardEvent webEvent = WebInputEventFactory::keyboardEvent(&gdkEvent);
194 // Round-trip through the WebCore KeyboardEvent class.
196 RefPtr<WebCore::KeyboardEvent> keypress = WebCore::KeyboardEvent::create(platformBuilder, 0);
197 EXPECT_TRUE(keypress->location() == WebCore::KeyboardEvent::DOM_KEY_LOCATION_NUMPAD);
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DateTimeFieldElement.cpp 32 #include "core/events/KeyboardEvent.h"
64 KeyboardEvent* keyboardEvent = toKeyboardEvent(event);
66 handleKeyboardEvent(keyboardEvent);
67 if (keyboardEvent->defaultHandled())
70 defaultKeyboardEventHandler(keyboardEvent);
71 if (keyboardEvent->defaultHandled())
78 void DateTimeFieldElement::defaultKeyboardEventHandler(KeyboardEvent* keyboardEvent)
80 if (keyboardEvent->type() != EventTypeNames::keydown
    [all...]
DateTimeSymbolicFieldElement.cpp 30 #include "core/events/KeyboardEvent.h"
73 void DateTimeSymbolicFieldElement::handleKeyboardEvent(KeyboardEvent* keyboardEvent)
75 if (keyboardEvent->type() != EventTypeNames::keypress)
78 const UChar charCode = WTF::Unicode::toLower(keyboardEvent->charCode());
82 keyboardEvent->setDefaultHandled();
84 int index = m_typeAhead.handleEvent(keyboardEvent, TypeAhead::MatchPrefix | TypeAhead::CycleFirstChar | TypeAhead::MatchIndex);
DateTimeNumericFieldElement.cpp 32 #include "core/events/KeyboardEvent.h"
113 void DateTimeNumericFieldElement::handleKeyboardEvent(KeyboardEvent* keyboardEvent)
116 if (keyboardEvent->type() != EventTypeNames::keypress)
119 UChar charCode = static_cast<UChar>(keyboardEvent->charCode());
137 keyboardEvent->setDefaultHandled();
  /external/chromium_org/third_party/WebKit/public/web/gtk/
WebInputEventFactory.h 50 BLINK_EXPORT static WebKeyboardEvent keyboardEvent(const GdkEventKey*);
51 BLINK_EXPORT static WebKeyboardEvent keyboardEvent(wchar_t character, int state, double timeStampSeconds);
  /external/chromium_org/third_party/WebKit/public/web/mac/
WebInputEventFactory.h 53 BLINK_EXPORT static WebKeyboardEvent keyboardEvent(NSEvent*);
54 BLINK_EXPORT static WebKeyboardEvent keyboardEvent(wchar_t character, int modifiers, double timeStampSeconds);
  /external/chromium_org/third_party/WebKit/public/web/win/
WebInputEventFactory.h 46 BLINK_EXPORT static WebKeyboardEvent keyboardEvent(HWND, UINT, WPARAM, LPARAM);
  /external/chromium_org/third_party/WebKit/Source/core/html/
MediaDocument.cpp 34 #include "core/events/KeyboardEvent.h"
155 KeyboardEvent* keyboardEvent = toKeyboardEvent(event);
156 if (keyboardEvent->keyIdentifier() == "U+0020" || keyboardEvent->keyCode() == VKEY_MEDIA_PLAY_PAUSE) {
HTMLSelectElement.cpp 39 #include "core/events/KeyboardEvent.h"
    [all...]
  /external/chromium_org/third_party/WebKit/public/web/android/
WebInputEventFactory.h 56 BLINK_EXPORT static WebKeyboardEvent keyboardEvent(WebInputEvent::Type,
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
KeyboardShortcut.js 123 * @param {?KeyboardEvent} keyboardEvent
126 WebInspector.KeyboardShortcut.makeKeyFromEvent = function(keyboardEvent)
129 if (keyboardEvent.shiftKey)
131 if (keyboardEvent.ctrlKey)
133 if (keyboardEvent.altKey)
135 if (keyboardEvent.metaKey)
137 return WebInspector.KeyboardShortcut._makeKeyFromCodeAndModifiers(keyboardEvent.keyCode, modifiers);
141 * @param {?KeyboardEvent} event
InspectorView.js 280 var keyboardEvent = /** @type {!KeyboardEvent} */ (event);
287 else if (event.keyCode > 0x60 && event.keyCode < 0x6A && keyboardEvent.location === KeyboardEvent.DOM_KEY_LOCATION_NUMPAD)
ElementsTreeOutline.js 548 var keyboardEvent = /** @type {!KeyboardEvent} */ (event);
555 if (!treeElement._editing && WebInspector.KeyboardShortcut.hasNoModifiers(keyboardEvent) && keyboardEvent.keyCode === WebInspector.KeyboardShortcut.Keys.H.code) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebInputEventFactoryAndroid.cpp 41 WebKeyboardEvent WebInputEventFactory::keyboardEvent(WebInputEvent::Type type,
WebDevToolsAgentImpl.cpp 315 PlatformKeyboardEvent keyboardEvent = PlatformKeyboardEventBuilder(*static_cast<const WebKeyboardEvent*>(&inputEvent));
316 return ic->handleKeyboardEvent(page->mainFrame(), keyboardEvent);
WebInputEventFactoryGtk.cpp 357 WebKeyboardEvent WebInputEventFactory::keyboardEvent(const GdkEventKey* event)
417 WebKeyboardEvent WebInputEventFactory::keyboardEvent(wchar_t character, int state, double timeStampSeconds)
419 // keyboardEvent(const GdkEventKey*) depends on the GdkEventKey object and
WebInputEventFactoryWin.cpp 132 WebKeyboardEvent WebInputEventFactory::keyboardEvent(HWND hwnd, UINT message,
  /external/chromium_org/third_party/WebKit/Source/testing/runner/
EventSender.cpp 725 webview()->handleInputEvent(WebInputEventFactory::keyboardEvent(0, msg, arguments[1].toInt32(), lparam));
    [all...]

Completed in 1128 milliseconds