Home
last modified time | relevance | path

Searched refs:keyEvent (Results 1 – 25 of 65) sorted by relevance

123

/external/webkit/Source/WebKit/efl/WebCoreSupport/
DEditorClientEfl.cpp341 const PlatformKeyboardEvent* keyEvent = event->keyEvent(); in handleEditingKeyboardEvent() local
342 if (!keyEvent) in handleEditingKeyboardEvent()
347 switch (keyEvent->windowsVirtualKeyCode()) { in handleEditingKeyboardEvent()
349 …frame->selection()->modify(keyEvent->shiftKey() ? SelectionController::AlterationExtend : Selectio… in handleEditingKeyboardEvent()
351 keyEvent->ctrlKey() ? WordGranularity : CharacterGranularity, in handleEditingKeyboardEvent()
355 …frame->selection()->modify(keyEvent->shiftKey() ? SelectionController::AlterationExtend : Selectio… in handleEditingKeyboardEvent()
357 keyEvent->ctrlKey() ? WordGranularity : CharacterGranularity, in handleEditingKeyboardEvent()
361 …frame->selection()->modify(keyEvent->shiftKey() ? SelectionController::AlterationExtend : Selectio… in handleEditingKeyboardEvent()
363 keyEvent->ctrlKey() ? ParagraphGranularity : LineGranularity, in handleEditingKeyboardEvent()
367 …frame->selection()->modify(keyEvent->shiftKey() ? SelectionController::AlterationExtend : Selectio… in handleEditingKeyboardEvent()
[all …]
/external/webkit/Source/WebKit/wince/WebCoreSupport/
DEditorClientWinCE.cpp351 const PlatformKeyboardEvent* keyEvent = event->keyEvent(); in handleEditingKeyboardEvent() local
352 if (!keyEvent) in handleEditingKeyboardEvent()
357 switch (keyEvent->windowsVirtualKeyCode()) { in handleEditingKeyboardEvent()
359 …frame->selection()->modify(keyEvent->shiftKey() ? SelectionController::AlterationExtend : Selectio… in handleEditingKeyboardEvent()
361 keyEvent->ctrlKey() ? WordGranularity : CharacterGranularity, in handleEditingKeyboardEvent()
365 …frame->selection()->modify(keyEvent->shiftKey() ? SelectionController::AlterationExtend : Selectio… in handleEditingKeyboardEvent()
367 keyEvent->ctrlKey() ? WordGranularity : CharacterGranularity, in handleEditingKeyboardEvent()
371 …frame->selection()->modify(keyEvent->shiftKey() ? SelectionController::AlterationExtend : Selectio… in handleEditingKeyboardEvent()
373 keyEvent->ctrlKey() ? ParagraphGranularity : LineGranularity, in handleEditingKeyboardEvent()
377 …frame->selection()->modify(keyEvent->shiftKey() ? SelectionController::AlterationExtend : Selectio… in handleEditingKeyboardEvent()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/photon/
DSDL_ph_events.c115 PhKeyEvent_t* keyEvent; in ph_DispatchEvent() local
343 keyEvent = PhGetData(phevent); in ph_DispatchEvent()
345 if (Pk_KF_Key_Down & keyEvent->key_flags) in ph_DispatchEvent()
348 …if ((keyEvent->key_cap==Pk_Up) && (keyEvent->key_scan==0) && ((keyEvent->key_flags & Pk_KF_Scan_Va… in ph_DispatchEvent()
353 …if ((keyEvent->key_cap==Pk_Down) && (keyEvent->key_scan==0) && ((keyEvent->key_flags & Pk_KF_Scan_… in ph_DispatchEvent()
358 posted = SDL_PrivateKeyboard(SDL_PRESSED, ph_TranslateKey(keyEvent, &keysym)); in ph_DispatchEvent()
363 …if ((keyEvent->key_cap==Pk_Up) && (keyEvent->key_scan==0) && ((keyEvent->key_flags & Pk_KF_Scan_Va… in ph_DispatchEvent()
368 …if ((keyEvent->key_cap==Pk_Down) && (keyEvent->key_scan==0) && ((keyEvent->key_flags & Pk_KF_Scan_… in ph_DispatchEvent()
373 posted = SDL_PrivateKeyboard(SDL_RELEASED, ph_TranslateKey( keyEvent, &keysym)); in ph_DispatchEvent()
/external/webkit/Source/WebKit/chromium/src/
DEditorClientImpl.cpp523 const PlatformKeyboardEvent* keyEvent = evt->keyEvent(); in interpretKeyEvent() local
524 if (!keyEvent) in interpretKeyEvent()
546 if (keyEvent->shiftKey()) in interpretKeyEvent()
548 if (keyEvent->altKey()) in interpretKeyEvent()
550 if (keyEvent->ctrlKey()) in interpretKeyEvent()
552 if (keyEvent->metaKey()) in interpretKeyEvent()
555 if (keyEvent->type() == PlatformKeyboardEvent::RawKeyDown) { in interpretKeyEvent()
566 const PlatformKeyboardEvent* keyEvent = evt->keyEvent(); in handleEditingKeyboardEvent() local
568 if (!keyEvent || keyEvent->isSystemKey()) in handleEditingKeyboardEvent()
578 if (keyEvent->type() == PlatformKeyboardEvent::RawKeyDown) { in handleEditingKeyboardEvent()
[all …]
DWebInputEventConversion.cpp339 if (!event.keyEvent()) in WebKeyboardEventBuilder()
341 nativeKeyCode = event.keyEvent()->nativeVirtualKeyCode(); in WebKeyboardEventBuilder()
342 unsigned int numChars = std::min(event.keyEvent()->text().length(), in WebKeyboardEventBuilder()
345 text[i] = event.keyEvent()->text()[i]; in WebKeyboardEventBuilder()
346 unmodifiedText[i] = event.keyEvent()->unmodifiedText()[i]; in WebKeyboardEventBuilder()
/external/webkit/Source/WebKit/android/WebCoreSupport/
DEditorClientAndroid.cpp142 const PlatformKeyboardEvent* keyEvent = evt->keyEvent(); in interpretKeyEvent() local
159 if (keyEvent->shiftKey()) in interpretKeyEvent()
161 if (keyEvent->altKey()) in interpretKeyEvent()
179 const PlatformKeyboardEvent* keyEvent = event->keyEvent(); in handleKeyboardEvent() local
182 if (!keyEvent) in handleKeyboardEvent()
186 if (keyEvent->type() == PlatformKeyboardEvent::RawKeyDown) { in handleKeyboardEvent()
206 if (frame->editor()->insertText(keyEvent->text(), event)) in handleKeyboardEvent()
/external/webkit/Source/WebKit/wx/WebKitSupport/
DEditorClientWx.cpp385 const PlatformKeyboardEvent* keyEvent = event->keyEvent(); in handleEditingKeyboardEvent() local
388 if (!keyEvent || keyEvent->altKey()) // do not treat this as text input if Alt is down in handleEditingKeyboardEvent()
393 if (keyEvent->type() == PlatformKeyboardEvent::RawKeyDown) { in handleEditingKeyboardEvent()
407 return frame->editor()->insertText(event->keyEvent()->text(), event); in handleEditingKeyboardEvent()
412 …ASSERT(evt->keyEvent()->type() == PlatformKeyboardEvent::RawKeyDown || evt->keyEvent()->type() == … in interpretKeyEvent()
436 if (evt->keyEvent()->type() == PlatformKeyboardEvent::RawKeyDown) { in interpretKeyEvent()
/external/webkit/Source/WebKit/wince/
DWebView.cpp351 …PlatformKeyboardEvent keyEvent(m_windowHandle, virtualKeyCode, keyData, PlatformKeyboardEvent::Raw… in handleKeyDown() local
352 bool handled = frame->eventHandler()->keyEvent(keyEvent); in handleKeyDown()
373 …PlatformKeyboardEvent keyEvent(m_windowHandle, charCode, keyData, PlatformKeyboardEvent::Char, sys… in handleKeyPress() local
376 return frame->eventHandler()->handleAccessKey(keyEvent); in handleKeyPress()
377 if (frame->eventHandler()->keyEvent(keyEvent)) in handleKeyPress()
385 …PlatformKeyboardEvent keyEvent(m_windowHandle, virtualKeyCode, keyData, PlatformKeyboardEvent::Key… in handleKeyUp() local
388 return frame->eventHandler()->keyEvent(keyEvent); in handleKeyUp()
/external/webkit/Source/WebKit/win/
DDOMEventsClasses.cpp289 WebCore::KeyboardEvent* keyEvent = static_cast<WebCore::KeyboardEvent*>(m_event.get()); in ctrlKey() local
291 *result = keyEvent->ctrlKey() ? TRUE : FALSE; in ctrlKey()
301 WebCore::KeyboardEvent* keyEvent = static_cast<WebCore::KeyboardEvent*>(m_event.get()); in shiftKey() local
303 *result = keyEvent->shiftKey() ? TRUE : FALSE; in shiftKey()
313 WebCore::KeyboardEvent* keyEvent = static_cast<WebCore::KeyboardEvent*>(m_event.get()); in altKey() local
315 *result = keyEvent->altKey() ? TRUE : FALSE; in altKey()
325 WebCore::KeyboardEvent* keyEvent = static_cast<WebCore::KeyboardEvent*>(m_event.get()); in metaKey() local
327 *result = keyEvent->metaKey() ? TRUE : FALSE; in metaKey()
337 WebCore::KeyboardEvent* keyEvent = static_cast<WebCore::KeyboardEvent*>(m_event.get()); in altGraphKey() local
339 *result = keyEvent->altGraphKey() ? TRUE : FALSE; in altGraphKey()
DWebActionPropertyBag.cpp141 …if (const UIEventWithKeyState* keyEvent = findEventWithKeyState(const_cast<Event*>(m_action.event(… in Read() local
144 if (keyEvent->ctrlKey()) in Read()
146 if (keyEvent->shiftKey()) in Read()
148 if (keyEvent->altKey()) in Read()
DWebView.cpp1776 …PlatformKeyboardEvent keyEvent(m_viewWindow, virtualKeyCode, keyData, PlatformKeyboardEvent::KeyUp… in keyUp() local
1781 return frame->eventHandler()->keyEvent(keyEvent); in keyUp()
1912 const PlatformKeyboardEvent* keyEvent = evt->keyEvent(); in handleEditingKeyboardEvent() local
1913 …if (!keyEvent || keyEvent->isSystemKey()) // do not treat this as text input if it's a system key… in handleEditingKeyboardEvent()
1918 if (keyEvent->type() == PlatformKeyboardEvent::RawKeyDown) { in handleEditingKeyboardEvent()
1932 return frame->editor()->insertText(evt->keyEvent()->text(), evt); in handleEditingKeyboardEvent()
1939 …PlatformKeyboardEvent keyEvent(m_viewWindow, virtualKeyCode, keyData, PlatformKeyboardEvent::RawKe… in keyDown() local
1940 bool handled = frame->eventHandler()->keyEvent(keyEvent); in keyDown()
1959 if (virtualKeyCode == VK_RIGHT && keyEvent.ctrlKey()) in keyDown()
1961 if (virtualKeyCode == VK_LEFT && keyEvent.ctrlKey()) in keyDown()
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dbase_view.mm40 - (void)keyEvent:(NSEvent *)theEvent {
123 [self keyEvent:theEvent];
127 [self keyEvent:theEvent];
131 [self keyEvent:theEvent];
Dbase_view.h30 - (void)keyEvent:(NSEvent *)theEvent;
/external/webkit/Source/WebKit/chromium/tests/
DPopupMenuTest.cpp229 WebKeyboardEvent keyEvent; in simulateKeyEvent() local
230 keyEvent.windowsKeyCode = keyCode; in simulateKeyEvent()
231 keyEvent.type = eventType; in simulateKeyEvent()
232 m_webView->handleInputEvent(keyEvent); in simulateKeyEvent()
/external/chromium/chrome/browser/resources/keyboard/
Dmain.js611 var keyEvent = {'type': 'keydown', 'keyIdentifier': key}; variable
613 keyEvent['shiftKey'] = true;
615 chrome.experimental.input.sendKeyboardEvent(keyEvent);
616 keyEvent['type'] = 'keyup';
617 chrome.experimental.input.sendKeyboardEvent(keyEvent);
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
DEditorClientGtk.cpp635 gtk_bindings_activate_event(GTK_OBJECT(m_nativeWidget.get()), event->keyEvent()->gdkEventKey()); in generateEditorCommands()
637 gtk_bindings_activate_event(G_OBJECT(m_nativeWidget.get()), event->keyEvent()->gdkEventKey()); in generateEditorCommands()
709 const PlatformKeyboardEvent* platformEvent = event->keyEvent(); in handleKeyboardEvent()
808 && event->keyEvent()->gdkEventKey()->keyval; in handleInputMethodKeydown()
810 …if ((gtk_im_context_filter_keypress(priv->imContext.get(), event->keyEvent()->gdkEventKey()) && !m… in handleInputMethodKeydown()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/gtk/
DWebEditorClientGtk.cpp71 const PlatformKeyboardEvent* platformEvent = event->keyEvent(); in handleKeyboardEvent()
/external/webkit/Source/WebCore/plugins/qt/
DPluginViewQt.cpp422 const PlatformKeyboardEvent* keyEvent = event->keyEvent(); in setXKeyEventSpecificFields() local
428 xEvent->xkey.state = keyEvent->nativeModifiers(); in setXKeyEventSpecificFields()
429 xEvent->xkey.keycode = keyEvent->nativeScanCode(); in setXKeyEventSpecificFields()
436 QKeyEvent* qKeyEvent = keyEvent->qtEvent(); in setXKeyEventSpecificFields()
/external/webkit/Source/WebCore/dom/
DKeyboardEvent.h85 const PlatformKeyboardEvent* keyEvent() const { return m_keyEvent.get(); } in keyEvent() function
/external/webkit/Source/WebCore/page/
DEventHandler.h190 bool keyEvent(const PlatformKeyboardEvent&);
216 bool keyEvent(NSEvent *);
/external/webkit/Source/WebCore/plugins/symbian/
DPluginViewSymbian.cpp187 ASSERT(event->keyEvent()->qtEvent()); in handleKeyboardEvent()
188 QEvent& npEvent = *(event->keyEvent()->qtEvent()); in handleKeyboardEvent()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DEditorClientQt.cpp414 const PlatformKeyboardEvent* kevent = event->keyEvent(); in handleKeyboardEvent()
536 const PlatformKeyboardEvent* kevent = event->keyEvent(); in handleInputMethodKeydown()
/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/
DWebPageQt.cpp204 int mapKey = modifiers << 16 | evt->keyEvent()->windowsVirtualKeyCode(); in interpretKeyEvent()
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DWebPage.cpp999 …return page->focusController()->focusedOrMainFrame()->eventHandler()->keyEvent(platform(keyboardEv… in handleKeyEvent()
1002 void WebPage::keyEvent(const WebKeyboardEvent& keyboardEvent) in keyEvent() function in WebKit::WebPage
1492 const PlatformKeyboardEvent* keyEvent = evt->keyEvent(); in handleEditingKeyboardEvent() local
1493 if (!keyEvent) in handleEditingKeyboardEvent()
1498 if (keyEvent->type() == PlatformKeyboardEvent::RawKeyDown) { in handleEditingKeyboardEvent()
1512 return frame->editor()->insertText(evt->keyEvent()->text(), evt); in handleEditingKeyboardEvent()
/external/webkit/Source/WebKit/haiku/WebCoreSupport/
DEditorClientHaiku.cpp249 const PlatformKeyboardEvent* kevent = event->keyEvent(); in handleKeyboardEvent()

123