/external/chromium_org/content/browser/renderer_host/input/ |
D | synthetic_gesture_target_base.cc | 46 const WebInputEvent* web_event = event.web_event.get(); in DispatchInputEventToPlatform() local 47 if (WebInputEvent::isTouchEventType(web_event->type)) { in DispatchInputEventToPlatform() 52 static_cast<const WebTouchEvent*>(web_event); in DispatchInputEventToPlatform() 54 } else if (web_event->type == WebInputEvent::MouseWheel) { in DispatchInputEventToPlatform() 59 static_cast<const WebMouseWheelEvent*>(web_event); in DispatchInputEventToPlatform() 61 } else if (WebInputEvent::isMouseEventType(web_event->type)) { in DispatchInputEventToPlatform() 66 static_cast<const WebMouseEvent*>(web_event); in DispatchInputEventToPlatform()
|
D | synthetic_gesture_controller_unittest.cc | 148 const blink::WebInputEvent* web_event = event.web_event.get(); in DispatchInputEventToPlatform() local 149 ASSERT_EQ(web_event->type, blink::WebInputEvent::MouseWheel); in DispatchInputEventToPlatform() 151 static_cast<const blink::WebMouseWheelEvent*>(web_event); in DispatchInputEventToPlatform() 165 const blink::WebInputEvent* web_event = event.web_event.get(); in DispatchInputEventToPlatform() local 166 ASSERT_TRUE(blink::WebInputEvent::isTouchEventType(web_event->type)); in DispatchInputEventToPlatform() 168 static_cast<const blink::WebTouchEvent*>(web_event); in DispatchInputEventToPlatform() 209 const blink::WebInputEvent* web_event = event.web_event.get(); in DispatchInputEventToPlatform() local 210 ASSERT_TRUE(blink::WebInputEvent::isTouchEventType(web_event->type)); in DispatchInputEventToPlatform() 212 static_cast<const blink::WebTouchEvent*>(web_event); in DispatchInputEventToPlatform() 292 const blink::WebInputEvent* web_event = event.web_event.get(); in DispatchInputEventToPlatform() local [all …]
|
D | web_input_event_builders_gtk_unittest.cc | 167 WebKeyboardEvent web_event = WebKeyboardEventBuilder::Build(&gdk_event); in TEST() local 168 EXPECT_TRUE(web_event.modifiers & WebInputEvent::IsKeyPad); in TEST()
|
/external/chromium_org/content/child/npapi/ |
D | plugin_web_event_converter_mac.h | 28 bool InitWithEvent(const blink::WebInputEvent& web_event); 40 bool ConvertKeyboardEvent(const blink::WebKeyboardEvent& web_event); 41 bool ConvertMouseEvent(const blink::WebMouseEvent& web_event); 42 bool ConvertMouseWheelEvent(const blink::WebMouseWheelEvent& web_event); 45 static NSUInteger CocoaModifiers(const blink::WebInputEvent& web_event);
|
D | plugin_web_event_converter_mac.mm | 59 bool PluginWebEventConverter::InitWithEvent(const WebInputEvent& web_event) { 61 if (web_event.type == WebInputEvent::MouseWheel) { 63 *static_cast<const WebMouseWheelEvent*>(&web_event)); 64 } else if (WebInputEvent::isMouseEventType(web_event.type)) { 65 return ConvertMouseEvent(*static_cast<const WebMouseEvent*>(&web_event)); 66 } else if (WebInputEvent::isKeyboardEventType(web_event.type)) { 68 *static_cast<const WebKeyboardEvent*>(&web_event)); 70 DLOG(WARNING) << "Unknown event type " << web_event.type; 173 const WebInputEvent& web_event) { 175 if (web_event.modifiers & WebInputEvent::ControlKey) [all …]
|
/external/chromium_org/content/renderer/pepper/ |
D | event_conversion.cc | 126 InputEventData GetEventWithCommonFieldsAndType(const WebInputEvent& web_event) { in GetEventWithCommonFieldsAndType() argument 128 result.event_type = ConvertEventTypes(web_event.type); in GetEventWithCommonFieldsAndType() 129 result.event_time_stamp = EventTimeToPPTimeTicks(web_event.timeStampSeconds); in GetEventWithCommonFieldsAndType() 291 WebTouchEvent* web_event = new WebTouchEvent(); in BuildTouchEvent() local 295 web_event->type = WebInputEvent::TouchStart; in BuildTouchEvent() 299 web_event->type = WebInputEvent::TouchMove; in BuildTouchEvent() 303 web_event->type = WebInputEvent::TouchEnd; in BuildTouchEvent() 307 web_event->type = WebInputEvent::TouchCancel; in BuildTouchEvent() 318 web_event->timeStampSeconds = PPTimeTicksToEventTime(event.event_time_stamp); in BuildTouchEvent() 321 web_event->changedTouches, in BuildTouchEvent() [all …]
|
/external/chromium_org/content/common/input/ |
D | input_event.cc | 13 InputEvent::InputEvent(const blink::WebInputEvent& web_event, in InputEvent() argument 16 : web_event(WebInputEventTraits::Clone(web_event)), in InputEvent()
|
D | input_param_traits_unittest.cc | 24 EXPECT_EQ(!!a->web_event, !!b->web_event); in Compare() 25 if (a->web_event && b->web_event) { in Compare() 26 const size_t a_size = a->web_event->size; in Compare() 27 ASSERT_EQ(a_size, b->web_event->size); in Compare() 28 EXPECT_EQ(0, memcmp(a->web_event.get(), b->web_event.get(), a_size)); in Compare()
|
D | scoped_web_input_event.cc | 22 void WebInputEventDeleter::operator()(WebInputEvent* web_event) const { in operator ()() 23 WebInputEventTraits::Delete(web_event); in operator ()()
|
D | input_event.h | 24 InputEvent(const blink::WebInputEvent& web_event, 29 ScopedWebInputEvent web_event; variable
|
D | scoped_web_input_event.h | 21 void operator()(blink::WebInputEvent* web_event) const;
|
/external/chromium_org/content/browser/renderer_host/ |
D | ui_events_helper.cc | 268 blink::WebTouchEvent* web_event) { in UpdateWebTouchEventFromUIEvent() argument 273 if (web_event->touchesLength < blink::WebTouchEvent::touchesLengthCap) { in UpdateWebTouchEventFromUIEvent() 274 point = &web_event->touches[web_event->touchesLength++]; in UpdateWebTouchEventFromUIEvent() 285 for (unsigned i = 0; i < web_event->touchesLength; ++i) { in UpdateWebTouchEventFromUIEvent() 286 point = web_event->touches + i; in UpdateWebTouchEventFromUIEvent() 324 for (unsigned i = 0; i < web_event->touchesLength; ++i) { in UpdateWebTouchEventFromUIEvent() 325 blink::WebTouchPoint* iter = web_event->touches + i; in UpdateWebTouchEventFromUIEvent() 331 web_event->type = TouchEventTypeFromEvent(event); in UpdateWebTouchEventFromUIEvent() 332 web_event->timeStampSeconds = event.time_stamp().InSecondsF(); in UpdateWebTouchEventFromUIEvent() 333 web_event->modifiers = EventFlagsToWebEventModifiers(event.flags()); in UpdateWebTouchEventFromUIEvent()
|
D | ui_events_helper.h | 54 blink::WebTouchEvent* web_event);
|
D | render_widget_host_view_gtk.cc | 524 WebMouseWheelEvent web_event = WebMouseWheelEventBuilder::Build(event); in OnMouseScrollEvent() local 532 web_event.deltaY = pixelsPerTick; in OnMouseScrollEvent() 534 web_event.deltaY = -pixelsPerTick; in OnMouseScrollEvent() 535 web_event.deltaY += GetPendingScrollDelta(true, event->state); in OnMouseScrollEvent() 538 web_event.deltaX = pixelsPerTick; in OnMouseScrollEvent() 540 web_event.deltaX = -pixelsPerTick; in OnMouseScrollEvent() 541 web_event.deltaX += GetPendingScrollDelta(false, event->state); in OnMouseScrollEvent() 544 host_view->GetRenderWidgetHost())->ForwardWheelEvent(web_event); in OnMouseScrollEvent()
|
D | render_widget_host_view_mac.mm | 1144 WebMouseEvent web_event = 1147 web_event.type = WebInputEvent::MouseLeave; 1148 ForwardMouseEvent(web_event);
|
/external/chromium/chrome/browser/renderer_host/ |
D | render_widget_host_view_gtk.cc | 274 WebMouseWheelEvent web_event = in OnButtonPressReleaseEvent() local 276 host_view->GetRenderWidgetHost()->ForwardWheelEvent(web_event); in OnButtonPressReleaseEvent() 470 WebMouseWheelEvent web_event = WebInputEventFactory::mouseWheelEvent(event); in OnMouseScrollEvent() local 476 web_event.deltaY = GetScrollPixelsPerTick(); in OnMouseScrollEvent() 478 web_event.deltaY = -GetScrollPixelsPerTick(); in OnMouseScrollEvent() 479 web_event.deltaY += GetPendingScrollDelta(true, event->state); in OnMouseScrollEvent() 482 web_event.deltaX = GetScrollPixelsPerTick(); in OnMouseScrollEvent() 484 web_event.deltaX = -GetScrollPixelsPerTick(); in OnMouseScrollEvent() 485 web_event.deltaX += GetPendingScrollDelta(false, event->state); in OnMouseScrollEvent() 487 host_view->GetRenderWidgetHost()->ForwardWheelEvent(web_event); in OnMouseScrollEvent()
|
/external/chromium_org/content/common/ |
D | input_messages.h | 55 IPC_STRUCT_TRAITS_MEMBER(web_event)
|