HomeSort by relevance Sort by last modified time
    Searched full:web_event (Results 1 - 8 of 8) sorted by null

  /external/chromium_org/content/child/npapi/
plugin_web_event_converter_mac.h 28 bool InitWithEvent(const WebKit::WebInputEvent& web_event);
40 bool ConvertKeyboardEvent(const WebKit::WebKeyboardEvent& web_event);
41 bool ConvertMouseEvent(const WebKit::WebMouseEvent& web_event);
42 bool ConvertMouseWheelEvent(const WebKit::WebMouseWheelEvent& web_event);
44 // Returns the Cocoa translation of web_event's modifiers.
45 static NSUInteger CocoaModifiers(const WebKit::WebInputEvent& web_event);
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/
event_conversion.cc 126 InputEventData GetEventWithCommonFieldsAndType(const WebInputEvent& web_event) {
128 result.event_type = ConvertEventTypes(web_event.type);
129 result.event_time_stamp = EventTimeToPPTimeTicks(web_event.timeStampSeconds);
290 WebTouchEvent* web_event = new WebTouchEvent(); local
294 web_event->type = WebInputEvent::TouchStart;
298 web_event->type = WebInputEvent::TouchMove;
302 web_event->type = WebInputEvent::TouchEnd;
306 web_event->type = WebInputEvent::TouchCancel;
317 web_event->timeStampSeconds = PPTimeTicksToEventTime(event.event_time_stamp);
320 web_event->changedTouches
    [all...]
  /external/chromium_org/content/browser/renderer_host/
ui_events_helper.cc 261 WebKit::WebTouchEvent* web_event) {
266 if (web_event->touchesLength < WebKit::WebTouchEvent::touchesLengthCap) {
267 point = &web_event->touches[web_event->touchesLength++];
278 for (unsigned i = 0; i < web_event->touchesLength; ++i) {
279 point = web_event->touches + i;
317 for (unsigned i = 0; i < web_event->touchesLength; ++i) {
318 WebKit::WebTouchPoint* iter = web_event->touches + i;
324 web_event->type = TouchEventTypeFromEvent(event);
325 web_event->timeStampSeconds = event.time_stamp().InSecondsF()
    [all...]
ui_events_helper.h 54 WebKit::WebTouchEvent* web_event);
render_widget_host_view_gtk.cc 521 WebMouseWheelEvent web_event = WebInputEventFactory::mouseWheelEvent(event); local
527 web_event.deltaY = kDefaultScrollPixelsPerTick;
529 web_event.deltaY = -kDefaultScrollPixelsPerTick;
530 web_event.deltaY += GetPendingScrollDelta(true, event->state);
533 web_event.deltaX = kDefaultScrollPixelsPerTick;
535 web_event.deltaX = -kDefaultScrollPixelsPerTick;
536 web_event.deltaX += GetPendingScrollDelta(false, event->state);
539 host_view->GetRenderWidgetHost())->ForwardWheelEvent(web_event);
    [all...]
render_widget_host_view_mac.mm     [all...]
  /external/chromium/chrome/browser/renderer_host/
render_widget_host_view_gtk.cc 274 WebMouseWheelEvent web_event = local
276 host_view->GetRenderWidgetHost()->ForwardWheelEvent(web_event);
470 WebMouseWheelEvent web_event = WebInputEventFactory::mouseWheelEvent(event); local
476 web_event.deltaY = GetScrollPixelsPerTick();
478 web_event.deltaY = -GetScrollPixelsPerTick();
479 web_event.deltaY += GetPendingScrollDelta(true, event->state);
482 web_event.deltaX = GetScrollPixelsPerTick();
484 web_event.deltaX = -GetScrollPixelsPerTick();
485 web_event.deltaX += GetPendingScrollDelta(false, event->state);
487 host_view->GetRenderWidgetHost()->ForwardWheelEvent(web_event);
    [all...]

Completed in 1633 milliseconds