/external/chromium_org/content/browser/renderer_host/input/ |
D | input_router_impl_unittest.cc | 515 const WebMouseWheelEvent* wheel_event = in TEST_F() local 517 EXPECT_EQ(0, wheel_event->deltaX); in TEST_F() 518 EXPECT_EQ(-5, wheel_event->deltaY); in TEST_F() 533 wheel_event = static_cast<const WebMouseWheelEvent*>(input_event); in TEST_F() 534 EXPECT_EQ(8, wheel_event->deltaX); in TEST_F() 535 EXPECT_EQ(-10 + -6, wheel_event->deltaY); // coalesced in TEST_F() 547 wheel_event = static_cast<const WebMouseWheelEvent*>(input_event); in TEST_F() 548 EXPECT_EQ(9, wheel_event->deltaX); in TEST_F() 549 EXPECT_EQ(-7, wheel_event->deltaY); in TEST_F() 561 wheel_event = static_cast<const WebMouseWheelEvent*>(input_event); in TEST_F() [all …]
|
D | input_router_impl.cc | 124 const MouseWheelEventWithLatencyInfo& wheel_event) { in SendWheelEvent() argument 125 SendWheelEvent(QueuedWheelEvent(wheel_event, false)); in SendWheelEvent() 128 void InputRouterImpl::SendWheelEvent(const QueuedWheelEvent& wheel_event) { in SendWheelEvent() argument 139 wheel_event.synthesized_from_pinch || in SendWheelEvent() 141 wheel_event.event)) { in SendWheelEvent() 142 coalesced_mouse_wheel_events_.push_back(wheel_event); in SendWheelEvent() 145 wheel_event.event); in SendWheelEvent() 151 current_wheel_event_ = wheel_event; in SendWheelEvent() 157 wheel_event.event.event, wheel_event.event.latency, false); in SendWheelEvent()
|
D | synthetic_gesture_target_aura.cc | 52 ui::MouseWheelEvent wheel_event( in DispatchWebMouseWheelEventToPlatform() local 56 wheel_event.ConvertLocationToTarget(window, window->GetRootWindow()); in DispatchWebMouseWheelEventToPlatform() 58 window->GetHost()->event_processor()->OnEventFromSource(&wheel_event); in DispatchWebMouseWheelEventToPlatform()
|
D | input_router.h | 40 const MouseWheelEventWithLatencyInfo& wheel_event) = 0;
|
D | input_router_impl.h | 64 const MouseWheelEventWithLatencyInfo& wheel_event) OVERRIDE; in NON_EXPORTED_BASE() 143 void SendWheelEvent(const QueuedWheelEvent& wheel_event); in NON_EXPORTED_BASE()
|
/external/chromium_org/native_client_sdk/src/examples/api/input_event/ |
D | input_event.cc | 174 pp::WheelInputEvent wheel_event(event); in HandleInputEvent() local 177 << " modifier:" << ModifierToString(wheel_event.GetModifiers()) in HandleInputEvent() 178 << " deltax:" << wheel_event.GetDelta().x() in HandleInputEvent() 179 << " deltay:" << wheel_event.GetDelta().y() in HandleInputEvent() 180 << " wheel_ticks_x:" << wheel_event.GetTicks().x() in HandleInputEvent() 181 << " wheel_ticks_y:" << wheel_event.GetTicks().y() in HandleInputEvent() 182 << " scroll_by_page: " << wheel_event.GetScrollByPage() in HandleInputEvent() 183 << " time:" << wheel_event.GetTimeStamp(); in HandleInputEvent()
|
/external/chromium_org/content/renderer/input/ |
D | input_handler_proxy.cc | 203 const WebMouseWheelEvent& wheel_event = in HandleInputEvent() local 205 if (wheel_event.scrollByPage) { in HandleInputEvent() 210 if (wheel_event.modifiers & WebInputEvent::ControlKey) { in HandleInputEvent() 218 gfx::Point(wheel_event.x, wheel_event.y), in HandleInputEvent() 219 gfx::Vector2dF(-wheel_event.deltaX, -wheel_event.deltaY)); in HandleInputEvent() 230 gfx::Point(wheel_event.x, wheel_event.y), cc::InputHandler::Wheel); in HandleInputEvent() 238 -wheel_event.deltaX, in HandleInputEvent() 240 -wheel_event.deltaY); in HandleInputEvent() 242 gfx::Point(wheel_event.x, wheel_event.y), in HandleInputEvent() 243 gfx::Vector2dF(-wheel_event.deltaX, -wheel_event.deltaY)); in HandleInputEvent()
|
/external/chromium_org/chrome/browser/ui/pdf/ |
D | pdf_browsertest.cc | 63 blink::WebMouseWheelEvent wheel_event; in IN_PROC_BROWSER_TEST_F() local 64 wheel_event.type = blink::WebInputEvent::MouseWheel; in IN_PROC_BROWSER_TEST_F() 65 wheel_event.deltaY = -200; in IN_PROC_BROWSER_TEST_F() 66 wheel_event.wheelTicksY = -2; in IN_PROC_BROWSER_TEST_F() 69 web_contents->GetRenderViewHost()->ForwardWheelEvent(wheel_event); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/content/child/npapi/ |
D | plugin_web_event_converter_mac.mm | 162 const WebMouseWheelEvent& wheel_event) { 164 cocoa_event_.data.mouse.pluginX = wheel_event.x; 165 cocoa_event_.data.mouse.pluginY = wheel_event.y; 166 cocoa_event_.data.mouse.modifierFlags |= CocoaModifiers(wheel_event); 167 cocoa_event_.data.mouse.deltaX = wheel_event.deltaX; 168 cocoa_event_.data.mouse.deltaY = wheel_event.deltaY;
|
/external/chromium_org/ppapi/thunk/ |
D | ppb_input_event_thunk.cc | 213 PP_FloatPoint GetWheelDelta(PP_Resource wheel_event) { in GetWheelDelta() argument 215 EnterInputEvent enter(wheel_event, true); in GetWheelDelta() 221 PP_FloatPoint GetWheelTicks(PP_Resource wheel_event) { in GetWheelTicks() argument 223 EnterInputEvent enter(wheel_event, true); in GetWheelTicks() 229 PP_Bool GetWheelScrollByPage(PP_Resource wheel_event) { in GetWheelScrollByPage() argument 231 EnterInputEvent enter(wheel_event, true); in GetWheelScrollByPage()
|
/external/chromium_org/content/common/input/ |
D | input_param_traits_unittest.cc | 153 blink::WebMouseWheelEvent wheel_event; in TEST_F() local 154 wheel_event.type = blink::WebInputEvent::MouseWheel; in TEST_F() 155 wheel_event.deltaX = 10; in TEST_F() 157 events.push_back(new InputEvent(wheel_event, latency, false)); in TEST_F()
|
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/ |
D | view-focus-input-events.rst | 257 pp::WheelInputEvent wheel_event(event); 259 new WheelEvent(ConvertEventModifier(wheel_event.GetModifiers()), 260 wheel_event.GetDelta().x(), 261 wheel_event.GetDelta().y(), 262 wheel_event.GetTicks().x(), 263 wheel_event.GetTicks().y(), 264 wheel_event.GetScrollByPage(), 265 wheel_event.GetTimeStamp());
|
/external/chromium_org/ppapi/c/ |
D | ppb_input_event.h | 653 struct PP_FloatPoint (*GetDelta)(PP_Resource wheel_event); 676 struct PP_FloatPoint (*GetTicks)(PP_Resource wheel_event); 688 PP_Bool (*GetScrollByPage)(PP_Resource wheel_event);
|
/external/chromium_org/mojo/services/public/cpp/input_events/lib/ |
D | input_events_type_converters.cc | 144 const ui::MouseWheelEvent* wheel_event = in Convert() local 147 wheel_data->x_offset = wheel_event->x_offset(); in Convert() 148 wheel_data->y_offset = wheel_event->y_offset(); in Convert()
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_widget_host_impl.cc | 903 const WebMouseWheelEvent& wheel_event) { in ForwardWheelEvent() argument 904 ForwardWheelEventWithLatencyInfo(wheel_event, ui::LatencyInfo()); in ForwardWheelEvent() 908 const blink::WebMouseWheelEvent& wheel_event, in ForwardWheelEventWithLatencyInfo() argument 912 ui::LatencyInfo::InputCoordinate logical_coordinate(wheel_event.x, in ForwardWheelEventWithLatencyInfo() 913 wheel_event.y); in ForwardWheelEventWithLatencyInfo() 916 &ui_latency, wheel_event.type, &logical_coordinate, 1); in ForwardWheelEventWithLatencyInfo() 921 if (touch_emulator_ && touch_emulator_->HandleMouseWheelEvent(wheel_event)) in ForwardWheelEventWithLatencyInfo() 924 input_router_->SendWheelEvent(MouseWheelEventWithLatencyInfo(wheel_event, in ForwardWheelEventWithLatencyInfo() 1913 const MouseWheelEventWithLatencyInfo& wheel_event, in OnWheelEventAck() argument 1915 if (!wheel_event.latency.FindLatency( in OnWheelEventAck() [all …]
|
D | render_widget_host_impl.h | 147 const blink::WebMouseWheelEvent& wheel_event) OVERRIDE; 274 const blink::WebMouseWheelEvent& wheel_event,
|
D | render_widget_host_unittest.cc | 85 const MouseWheelEventWithLatencyInfo& wheel_event) OVERRIDE { in SendWheelEvent() argument
|
/external/chromium_org/ui/platform_window/x11/ |
D | x11_window.cc | 88 MouseWheelEvent wheel_event(xev); in ProcessXInput2Event() local 89 delegate_->DispatchEvent(&wheel_event); in ProcessXInput2Event()
|
/external/chromium_org/content/public/browser/ |
D | render_widget_host.h | 197 const blink::WebMouseWheelEvent& wheel_event) = 0;
|
/external/chromium_org/chrome/browser/chromeos/events/ |
D | event_rewriter.cc | 468 const ui::MouseWheelEvent& wheel_event, in RewriteMouseWheelEvent() argument 472 int flags = wheel_event.flags(); in RewriteMouseWheelEvent() 474 sticky_keys_controller_->RewriteMouseEvent(wheel_event, &flags); in RewriteMouseWheelEvent() 475 if ((wheel_event.flags() == flags) && in RewriteMouseWheelEvent() 482 new ui::MouseWheelEvent(wheel_event); in RewriteMouseWheelEvent()
|
/external/chromium_org/ui/aura/ |
D | remote_window_tree_host_win.cc | 333 ui::MouseWheelEvent wheel_event(mouse_event, x_offset, y_offset); in OnMouseButton() local 334 SendEventToProcessor(&wheel_event); in OnMouseButton()
|
/external/chromium_org/content/browser/devtools/ |
D | renderer_overrides_handler.cc | 1214 blink::WebMouseWheelEvent wheel_event; in InputEmulateTouchFromMouseEvent() local 1243 wheel_event.deltaX = static_cast<float>(deltaX); in InputEmulateTouchFromMouseEvent() 1244 wheel_event.deltaY = static_cast<float>(deltaY); in InputEmulateTouchFromMouseEvent() 1245 event = &wheel_event; in InputEmulateTouchFromMouseEvent() 1319 host_->ForwardWheelEvent(wheel_event); in InputEmulateTouchFromMouseEvent()
|
/external/chromium_org/ppapi/api/ |
D | ppb_input_event.idl | 639 * @param[in] wheel_event A <code>PP_Resource</code> corresponding to an 663 * @param[in] wheel_event A <code>PP_Resource</code> corresponding to a wheel 671 PP_FloatPoint GetDelta([in] PP_Resource wheel_event); 684 * @param[in] wheel_event A <code>PP_Resource</code> corresponding to a wheel 695 PP_FloatPoint GetTicks([in] PP_Resource wheel_event); 701 * @param[in] wheel_event A <code>PP_Resource</code> corresponding to a wheel 708 PP_Bool GetScrollByPage([in] PP_Resource wheel_event);
|
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/ |
D | pnacl_shim.c | 992 …l_M13_PPB_WheelInputEvent_GetDelta(struct PP_FloatPoint* _struct_result, PP_Resource wheel_event) { in Pnacl_M13_PPB_WheelInputEvent_GetDelta() argument 994 *_struct_result = iface->GetDelta(wheel_event); in Pnacl_M13_PPB_WheelInputEvent_GetDelta() 997 …l_M13_PPB_WheelInputEvent_GetTicks(struct PP_FloatPoint* _struct_result, PP_Resource wheel_event) { in Pnacl_M13_PPB_WheelInputEvent_GetTicks() argument 999 *_struct_result = iface->GetTicks(wheel_event); in Pnacl_M13_PPB_WheelInputEvent_GetTicks() 1002 static PP_Bool Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage(PP_Resource wheel_event) { in Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage() argument 1004 return iface->GetScrollByPage(wheel_event); in Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage() 4731 ….GetDelta = (struct PP_FloatPoint (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetD… 4732 ….GetTicks = (struct PP_FloatPoint (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetT… 4733 ….GetScrollByPage = (PP_Bool (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetScrollB…
|