Home
last modified time | relevance | path

Searched refs:wheel_event (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/native_client_sdk/src/examples/api/input_event/
Dinput_event.cc178 pp::WheelInputEvent wheel_event(event); in HandleInputEvent() local
181 << " modifier:" << ModifierToString(wheel_event.GetModifiers()) in HandleInputEvent()
182 << " deltax:" << wheel_event.GetDelta().x() in HandleInputEvent()
183 << " deltay:" << wheel_event.GetDelta().y() in HandleInputEvent()
184 << " wheel_ticks_x:" << wheel_event.GetTicks().x() in HandleInputEvent()
185 << " wheel_ticks_y:" << wheel_event.GetTicks().y() in HandleInputEvent()
186 << " scroll_by_page: " << wheel_event.GetScrollByPage() in HandleInputEvent()
187 << " time:" << wheel_event.GetTimeStamp(); in HandleInputEvent()
/external/chromium_org/content/renderer/input/
Dinput_handler_proxy.cc112 const WebMouseWheelEvent& wheel_event = in HandleInputEvent() local
114 if (wheel_event.scrollByPage) { in HandleInputEvent()
120 gfx::Point(wheel_event.x, wheel_event.y), cc::InputHandler::Wheel); in HandleInputEvent()
128 -wheel_event.deltaX, in HandleInputEvent()
130 -wheel_event.deltaY); in HandleInputEvent()
132 gfx::Point(wheel_event.x, wheel_event.y), in HandleInputEvent()
133 gfx::Vector2dF(-wheel_event.deltaX, -wheel_event.deltaY)); in HandleInputEvent()
/external/chromium_org/content/child/npapi/
Dplugin_web_event_converter_mac.mm162 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/chrome/browser/ui/pdf/
Dpdf_browsertest.cc251 blink::WebMouseWheelEvent wheel_event; in IN_PROC_BROWSER_TEST_F() local
252 wheel_event.type = blink::WebInputEvent::MouseWheel; in IN_PROC_BROWSER_TEST_F()
253 wheel_event.deltaY = -200; in IN_PROC_BROWSER_TEST_F()
254 wheel_event.wheelTicksY = -2; in IN_PROC_BROWSER_TEST_F()
257 web_contents->GetRenderViewHost()->ForwardWheelEvent(wheel_event); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ppapi/thunk/
Dppb_input_event_thunk.cc213 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/browser/renderer_host/input/
Dinput_router_impl.cc161 const MouseWheelEventWithLatencyInfo& wheel_event) { in SendWheelEvent() argument
168 !coalesced_mouse_wheel_events_.back().CanCoalesceWith(wheel_event)) { in SendWheelEvent()
169 coalesced_mouse_wheel_events_.push_back(wheel_event); in SendWheelEvent()
171 coalesced_mouse_wheel_events_.back().CoalesceWith(wheel_event); in SendWheelEvent()
176 current_wheel_event_ = wheel_event; in SendWheelEvent()
181 FilterAndSendWebInputEvent(wheel_event.event, wheel_event.latency, false); in SendWheelEvent()
Dsynthetic_gesture_target_aura.cc67 ui::MouseWheelEvent wheel_event( in DispatchWebMouseWheelEventToPlatform() local
70 GetRootWindowHostDelegate()->OnHostMouseEvent(&wheel_event); in DispatchWebMouseWheelEventToPlatform()
Dinput_router.h40 const MouseWheelEventWithLatencyInfo& wheel_event) = 0;
Dinput_router_impl.h54 const MouseWheelEventWithLatencyInfo& wheel_event) OVERRIDE; in NON_EXPORTED_BASE()
Dinput_router_impl_unittest.cc521 const WebMouseWheelEvent* wheel_event = in TEST_F() local
523 ASSERT_EQ(WebMouseWheelEvent::PhaseEnded, wheel_event->phase); in TEST_F()
/external/chromium_org/ppapi/c/
Dppb_input_event.h654 struct PP_FloatPoint (*GetDelta)(PP_Resource wheel_event);
677 struct PP_FloatPoint (*GetTicks)(PP_Resource wheel_event);
689 PP_Bool (*GetScrollByPage)(PP_Resource wheel_event);
/external/chromium_org/content/common/input/
Dinput_param_traits_unittest.cc152 blink::WebMouseWheelEvent wheel_event; in TEST_F() local
153 wheel_event.type = blink::WebInputEvent::MouseWheel; in TEST_F()
154 wheel_event.deltaX = 10; in TEST_F()
156 events.push_back(new InputEvent(wheel_event, latency, false)); in TEST_F()
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/
Dview-focus-input-events.rst273 pp::WheelInputEvent wheel_event(event);
275 new WheelEvent(ConvertEventModifier(wheel_event.GetModifiers()),
276 wheel_event.GetDelta().x(),
277 wheel_event.GetDelta().y(),
278 wheel_event.GetTicks().x(),
279 wheel_event.GetTicks().y(),
280 wheel_event.GetScrollByPage(),
281 wheel_event.GetTimeStamp());
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_impl.cc954 const WebMouseWheelEvent& wheel_event) { in ForwardWheelEvent() argument
956 wheel_event, CreateRWHLatencyInfoIfNotExist(NULL, wheel_event.type))); in ForwardWheelEvent()
960 const MouseWheelEventWithLatencyInfo& wheel_event) { in ForwardWheelEventWithLatencyInfo() argument
965 if (delegate_->PreHandleWheelEvent(wheel_event.event)) in ForwardWheelEventWithLatencyInfo()
968 input_router_->SendWheelEvent(wheel_event); in ForwardWheelEventWithLatencyInfo()
2018 const MouseWheelEventWithLatencyInfo& wheel_event, in OnWheelEventAck() argument
2020 if (!wheel_event.latency.FindLatency( in OnWheelEventAck()
2024 ui::LatencyInfo latency = wheel_event.latency; in OnWheelEventAck()
2031 view_->UnhandledWheelEvent(wheel_event.event); in OnWheelEventAck()
Drender_widget_host_impl.h155 const blink::WebMouseWheelEvent& wheel_event) OVERRIDE;
301 const MouseWheelEventWithLatencyInfo& wheel_event);
Drender_widget_host_view_win.cc2019 blink::WebMouseWheelEvent wheel_event = in OnWheelEvent() local
2022 wheel_event.x /= scale; in OnWheelEvent()
2023 wheel_event.y /= scale; in OnWheelEvent()
2024 wheel_event.deltaX /= scale; in OnWheelEvent()
2025 wheel_event.deltaY /= scale; in OnWheelEvent()
2027 render_widget_host_->ForwardWheelEvent(wheel_event); in OnWheelEvent()
Drender_widget_host_unittest.cc145 const MouseWheelEventWithLatencyInfo& wheel_event) OVERRIDE { in SendWheelEvent() argument
/external/chromium_org/content/public/browser/
Drender_widget_host.h221 const blink::WebMouseWheelEvent& wheel_event) = 0;
/external/chromium_org/ui/aura/
Dremote_root_window_host_win.cc516 ui::MouseWheelEvent wheel_event(mouse_event, 0, extra); in OnMouseButton() local
517 delegate_->OnHostMouseEvent(&wheel_event); in OnMouseButton()
/external/chromium_org/ppapi/api/
Dppb_input_event.idl640 * @param[in] wheel_event A <code>PP_Resource</code> corresponding to an
664 * @param[in] wheel_event A <code>PP_Resource</code> corresponding to a wheel
672 PP_FloatPoint GetDelta([in] PP_Resource wheel_event);
685 * @param[in] wheel_event A <code>PP_Resource</code> corresponding to a wheel
696 PP_FloatPoint GetTicks([in] PP_Resource wheel_event);
702 * @param[in] wheel_event A <code>PP_Resource</code> corresponding to a wheel
709 PP_Bool GetScrollByPage([in] PP_Resource wheel_event);
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/
Dpnacl_shim.c802 …l_M13_PPB_WheelInputEvent_GetDelta(struct PP_FloatPoint* _struct_result, PP_Resource wheel_event) { in Pnacl_M13_PPB_WheelInputEvent_GetDelta() argument
804 *_struct_result = iface->GetDelta(wheel_event); in Pnacl_M13_PPB_WheelInputEvent_GetDelta()
807 …l_M13_PPB_WheelInputEvent_GetTicks(struct PP_FloatPoint* _struct_result, PP_Resource wheel_event) { in Pnacl_M13_PPB_WheelInputEvent_GetTicks() argument
809 *_struct_result = iface->GetTicks(wheel_event); in Pnacl_M13_PPB_WheelInputEvent_GetTicks()
812 static PP_Bool Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage(PP_Resource wheel_event) { in Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage() argument
814 return iface->GetScrollByPage(wheel_event); in Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage()
4226 ….GetDelta = (struct PP_FloatPoint (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetD…
4227 ….GetTicks = (struct PP_FloatPoint (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetT…
4228 ….GetScrollByPage = (PP_Bool (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetScrollB…