/external/webkit/Source/WebKit/chromium/src/ |
D | WebInputEventConversion.cpp | 59 m_shiftKey = (e.modifiers & WebInputEvent::ShiftKey); in PlatformMouseEventBuilder() 60 m_ctrlKey = (e.modifiers & WebInputEvent::ControlKey); in PlatformMouseEventBuilder() 61 m_altKey = (e.modifiers & WebInputEvent::AltKey); in PlatformMouseEventBuilder() 62 m_metaKey = (e.modifiers & WebInputEvent::MetaKey); in PlatformMouseEventBuilder() 68 case WebInputEvent::MouseMove: in PlatformMouseEventBuilder() 69 case WebInputEvent::MouseLeave: // synthesize a move event in PlatformMouseEventBuilder() 73 case WebInputEvent::MouseDown: in PlatformMouseEventBuilder() 77 case WebInputEvent::MouseUp: in PlatformMouseEventBuilder() 99 m_shiftKey = (e.modifiers & WebInputEvent::ShiftKey); in PlatformWheelEventBuilder() 100 m_ctrlKey = (e.modifiers & WebInputEvent::ControlKey); in PlatformWheelEventBuilder() [all …]
|
D | WebScrollbarImpl.cpp | 125 bool WebScrollbarImpl::handleInputEvent(const WebInputEvent& event) in handleInputEvent() 128 case WebInputEvent::MouseDown: in handleInputEvent() 130 case WebInputEvent::MouseUp: in handleInputEvent() 132 case WebInputEvent::MouseMove: in handleInputEvent() 134 case WebInputEvent::MouseLeave: in handleInputEvent() 136 case WebInputEvent::MouseWheel: in handleInputEvent() 138 case WebInputEvent::KeyDown: in handleInputEvent() 140 case WebInputEvent::Undefined: in handleInputEvent() 141 case WebInputEvent::MouseEnter: in handleInputEvent() 142 case WebInputEvent::RawKeyDown: in handleInputEvent() [all …]
|
D | WebScrollbarImpl.h | 58 virtual bool handleInputEvent(const WebInputEvent&); 74 bool onMouseDown(const WebInputEvent& event); 75 bool onMouseUp(const WebInputEvent& event); 76 bool onMouseMove(const WebInputEvent& event); 77 bool onMouseLeave(const WebInputEvent& event); 78 bool onMouseWheel(const WebInputEvent& event); 79 bool onKeyDown(const WebInputEvent& event);
|
D | WebPopupMenuImpl.cpp | 181 bool WebPopupMenuImpl::handleInputEvent(const WebInputEvent& inputEvent) in handleInputEvent() 190 case WebInputEvent::MouseMove: in handleInputEvent() 194 case WebInputEvent::MouseLeave: in handleInputEvent() 198 case WebInputEvent::MouseWheel: in handleInputEvent() 202 case WebInputEvent::MouseDown: in handleInputEvent() 206 case WebInputEvent::MouseUp: in handleInputEvent() 218 case WebInputEvent::RawKeyDown: in handleInputEvent() 219 case WebInputEvent::KeyDown: in handleInputEvent() 220 case WebInputEvent::KeyUp: in handleInputEvent() 221 case WebInputEvent::Char: in handleInputEvent()
|
D | WebViewImpl.cpp | 580 ASSERT((event.type == WebInputEvent::RawKeyDown) in keyEvent() 581 || (event.type == WebInputEvent::KeyDown) in keyEvent() 582 || (event.type == WebInputEvent::KeyUp)); in keyEvent() 609 const WebInputEvent::Type contextMenuTriggeringEventType = in keyEvent() 611 WebInputEvent::KeyUp; in keyEvent() 613 WebInputEvent::RawKeyDown; in keyEvent() 616 …bool isUnmodifiedMenuKey = !(event.modifiers & WebInputEvent::InputModifiers) && event.windowsKeyC… in keyEvent() 617 … bool isShiftF10 = event.modifiers == WebInputEvent::ShiftKey && event.windowsKeyCode == VKEY_F10; in keyEvent() 627 if (WebInputEvent::RawKeyDown == event.type) { in keyEvent() 691 if (WebInputEvent::RawKeyDown == event.type) in autocompleteHandleKeyEvent() [all …]
|
D | WebPluginContainerImpl.cpp | 479 if (webEvent.type == WebInputEvent::Undefined) in handleMouseEvent() 508 if (webEvent.type == WebInputEvent::Undefined) in handleWheelEvent() 519 if (webEvent.type == WebInputEvent::Undefined) in handleKeyboardEvent() 522 if (webEvent.type == WebInputEvent::KeyDown) { in handleKeyboardEvent() 524 if (webEvent.modifiers == WebInputEvent::MetaKey in handleKeyboardEvent() 526 if (webEvent.modifiers == WebInputEvent::ControlKey in handleKeyboardEvent() 539 const WebInputEvent* currentInputEvent = WebViewImpl::currentInputEvent(); in handleKeyboardEvent() 544 && WebInputEvent::isKeyboardEventType(currentInputEvent->type)) { in handleKeyboardEvent() 546 (WebInputEvent::CapsLockOn | WebInputEvent::NumLockOn); in handleKeyboardEvent()
|
D | WebViewImpl.h | 100 virtual bool handleInputEvent(const WebInputEvent&); 330 static const WebInputEvent* currentInputEvent() in currentInputEvent() 531 static const WebInputEvent* m_currentInputEvent;
|
D | WebPopupMenuImpl.h | 70 virtual bool handleInputEvent(const WebInputEvent&);
|
/external/webkit/Source/WebKit/chromium/src/win/ |
D | WebInputEventFactory.cpp | 90 static void SetToggleKeyState(WebInputEvent* event) in SetToggleKeyState() 94 event->modifiers |= WebInputEvent::NumLockOn; in SetToggleKeyState() 96 event->modifiers |= WebInputEvent::CapsLockOn; in SetToggleKeyState() 116 result.type = WebInputEvent::RawKeyDown; in keyboardEvent() 121 result.type = WebInputEvent::KeyUp; in keyboardEvent() 124 result.type = WebInputEvent::Char; in keyboardEvent() 128 result.type = WebInputEvent::Char; in keyboardEvent() 130 result.type = WebInputEvent::Char; in keyboardEvent() 136 if (result.type == WebInputEvent::Char || result.type == WebInputEvent::RawKeyDown) { in keyboardEvent() 140 if (result.type != WebInputEvent::Char) in keyboardEvent() [all …]
|
/external/webkit/Source/WebKit/chromium/tests/ |
D | KeyboardTest.cpp | 71 keyboardEvent->type = WebInputEvent::KeyDown; in setupKeyDownEvent() 83 WebInputEvent::Modifiers osModifier = WebInputEvent::MetaKey; in interpretOSModifierKeyPress() 85 WebInputEvent::Modifiers osModifier = WebInputEvent::ControlKey; in interpretOSModifierKeyPress() 95 setupKeyDownEvent(&keyboardEvent, keyCode, WebInputEvent::ControlKey); in interpretCtrlKeyPress() 183 EXPECT_STREQ("InsertBacktab", interpretTab(WebInputEvent::ShiftKey)); in TEST_F() 193 EXPECT_STREQ("InsertNewline", interpretNewLine(WebInputEvent::ControlKey)); in TEST_F() 198 EXPECT_STREQ("InsertLineBreak", interpretNewLine(WebInputEvent::ShiftKey)); in TEST_F() 203 EXPECT_STREQ("InsertNewline", interpretNewLine(WebInputEvent::AltKey)); in TEST_F() 208 int modifiers = WebInputEvent::AltKey | WebInputEvent::ShiftKey; in TEST_F()
|
D | PopupMenuTest.cpp | 133 virtual bool handleInputEvent(const WebInputEvent&) { return true; } in handleInputEvent() argument 217 simulateKeyEvent(WebInputEvent::RawKeyDown, keyCode); in simulateKeyDownEvent() 222 simulateKeyEvent(WebInputEvent::KeyUp, keyCode); in simulateKeyUpEvent() 227 void simulateKeyEvent(WebInputEvent::Type eventType, int keyCode) in simulateKeyEvent()
|
/external/webkit/Source/WebKit/chromium/src/gtk/ |
D | WebInputEventFactory.cpp | 97 modifiers |= WebInputEvent::ShiftKey; in gdkStateToWebEventModifiers() 99 modifiers |= WebInputEvent::ControlKey; in gdkStateToWebEventModifiers() 101 modifiers |= WebInputEvent::AltKey; in gdkStateToWebEventModifiers() 104 modifiers |= WebInputEvent::MetaKey; in gdkStateToWebEventModifiers() 107 modifiers |= WebInputEvent::LeftButtonDown; in gdkStateToWebEventModifiers() 109 modifiers |= WebInputEvent::MiddleButtonDown; in gdkStateToWebEventModifiers() 111 modifiers |= WebInputEvent::RightButtonDown; in gdkStateToWebEventModifiers() 113 modifiers |= WebInputEvent::CapsLockOn; in gdkStateToWebEventModifiers() 115 modifiers |= WebInputEvent::NumLockOn; in gdkStateToWebEventModifiers() 329 result.type = WebInputEvent::KeyUp; in keyboardEvent() [all …]
|
/external/webkit/Source/WebKit/chromium/public/ |
D | WebInputEvent.h | 51 class WebInputEvent { 53 WebInputEvent(unsigned sizeParam = sizeof(WebInputEvent)) 182 class WebKeyboardEvent : public WebInputEvent { 228 : WebInputEvent(sizeParam) in WebInputEvent() function 245 class WebMouseEvent : public WebInputEvent { 265 : WebInputEvent(sizeParam) in WebInputEvent() function 306 class WebTouchEvent : public WebInputEvent { 314 : WebInputEvent(sizeParam) in WebInputEvent() function
|
D | WebScrollbar.h | 39 class WebInputEvent; variable 93 virtual bool handleInputEvent(const WebInputEvent&) = 0;
|
D | WebWidget.h | 42 class WebInputEvent; variable 91 virtual bool handleInputEvent(const WebInputEvent&) = 0;
|
D | WebPlugin.h | 44 class WebInputEvent; variable 72 virtual bool handleInputEvent(const WebInputEvent&, WebCursorInfo&) = 0;
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
D | EventSender.cpp | 133 static void initMouseEvent(WebInputEvent::Type t, WebMouseEvent::Button b, in initMouseEvent() 148 static bool applyKeyModifier(const string& modifierName, WebInputEvent* event) in applyKeyModifier() 157 event->modifiers |= WebInputEvent::ControlKey; in applyKeyModifier() 159 event->modifiers |= WebInputEvent::ShiftKey; in applyKeyModifier() 161 event->modifiers |= WebInputEvent::AltKey; in applyKeyModifier() 172 event->modifiers |= WebInputEvent::MetaKey; in applyKeyModifier() 179 event->modifiers |= WebInputEvent::MetaKey; in applyKeyModifier() 185 static bool applyKeyModifiers(const CppVariant* argument, WebInputEvent* event) in applyKeyModifiers() 336 initMouseEvent(WebInputEvent::MouseDown, pressedButton, lastMousePos, &event); in doDragDrop() 396 initMouseEvent(WebInputEvent::MouseDown, buttonType, lastMousePos, &event); in mouseDown() [all …]
|
D | EventSender.h | 141 void sendCurrentTouchEvent(const WebKit::WebInputEvent::Type);
|
/external/chromium/chrome/browser/renderer_host/ |
D | render_widget_host_view_views.cc | 81 modifiers |= WebKit::WebInputEvent::ShiftKey; in WebInputEventFlagsFromViewsEvent() 83 modifiers |= WebKit::WebInputEvent::ControlKey; in WebInputEventFlagsFromViewsEvent() 85 modifiers |= WebKit::WebInputEvent::AltKey; in WebInputEventFlagsFromViewsEvent() 87 modifiers |= WebKit::WebInputEvent::CapsLockOn; in WebInputEventFlagsFromViewsEvent() 108 WebKit::WebInputEvent::Type TouchEventTypeFromEvent( in TouchEventTypeFromEvent() 112 return WebKit::WebInputEvent::TouchStart; in TouchEventTypeFromEvent() 114 return WebKit::WebInputEvent::TouchEnd; in TouchEventTypeFromEvent() 116 return WebKit::WebInputEvent::TouchMove; in TouchEventTypeFromEvent() 118 return WebKit::WebInputEvent::TouchCancel; in TouchEventTypeFromEvent() 120 return WebKit::WebInputEvent::Undefined; in TouchEventTypeFromEvent() [all …]
|
D | gtk_im_context_wrapper.cc | 409 wke->type = WebKit::WebInputEvent::Char; in ProcessUnfilteredKeyPressEvent() 504 SendFakeCompositionKeyEvent(WebKit::WebInputEvent::RawKeyDown); in HandleCommit() 506 SendFakeCompositionKeyEvent(WebKit::WebInputEvent::KeyUp); in HandleCommit() 547 SendFakeCompositionKeyEvent(WebKit::WebInputEvent::RawKeyDown); in HandlePreeditChanged() 556 SendFakeCompositionKeyEvent(WebKit::WebInputEvent::KeyUp); in HandlePreeditChanged() 593 WebKit::WebInputEvent::Type type) { in SendFakeCompositionKeyEvent()
|
D | gtk_im_context_wrapper.h | 105 void SendFakeCompositionKeyEvent(WebKit::WebInputEvent::Type type);
|
/external/chromium/webkit/glue/ |
D | context_menu_unittest.cc | 20 using WebKit::WebInputEvent; 53 mouse_event.type = WebInputEvent::MouseDown; in TEST_F() 64 mouse_event.type = WebInputEvent::MouseUp; in TEST_F()
|
/external/webkit/Source/WebKit/chromium/src/mac/ |
D | WebInputEventFactory.mm | 34 #include "WebInputEvent.h" 499 modifiers |= WebInputEvent::ControlKey; 501 modifiers |= WebInputEvent::ShiftKey; 503 modifiers |= WebInputEvent::AltKey; 505 modifiers |= WebInputEvent::MetaKey; 507 modifiers |= WebInputEvent::CapsLockOn; 541 isKeyUpEvent(event) ? WebInputEvent::KeyUp : WebInputEvent::RawKeyDown; 546 result.modifiers |= WebInputEvent::IsKeyPad; 549 result.modifiers |= WebInputEvent::IsAutoRepeat; 602 if (result.modifiers & WebInputEvent::MetaKey) [all …]
|
/external/chromium/chrome/browser/ui/views/ |
D | unhandled_keyboard_event_handler.cc | 27 if (event.type == WebKit::WebInputEvent::Char && ignore_next_char_event_) { in HandleKeyboardEvent() 35 if (event.type == WebKit::WebInputEvent::RawKeyDown) { in HandleKeyboardEvent()
|
D | dropdown_bar_host_gtk.cc | 39 wke.type = WebKit::WebInputEvent::KeyDown; in GetKeyboardEvent()
|