tree: 2fa065f9a5e9e199aa1dd97de0e02594a1086e5f [path history] [tgz]
  1. autoscroll_browsertest.cc
  2. composited_scrolling_browsertest.cc
  3. compositor_event_ack_browsertest.cc
  4. fling_browsertest.cc
  5. fling_controller.cc
  6. fling_controller.h
  7. fling_controller_unittest.cc
  8. fling_scheduler.cc
  9. fling_scheduler.h
  10. fling_scheduler_android.cc
  11. fling_scheduler_android.h
  12. fling_scheduler_base.h
  13. fling_scheduler_mac.h
  14. fling_scheduler_mac.mm
  15. fling_scheduler_unittest.cc
  16. gesture_event_queue.cc
  17. gesture_event_queue.h
  18. gesture_event_queue_unittest.cc
  19. input_device_change_observer.cc
  20. input_device_change_observer.h
  21. input_disposition_handler.h
  22. input_router.h
  23. input_router_client.h
  24. input_router_config_helper.cc
  25. input_router_config_helper.h
  26. input_router_impl.cc
  27. input_router_impl.h
  28. input_router_impl_unittest.cc
  29. interaction_mq_dynamic_browsertest.cc
  30. main_thread_event_queue_browsertest.cc
  31. mock_input_disposition_handler.cc
  32. mock_input_disposition_handler.h
  33. mock_input_router.cc
  34. mock_input_router.h
  35. mock_input_router_client.cc
  36. mock_input_router_client.h
  37. motion_event_web.cc
  38. motion_event_web.h
  39. motion_event_web_unittest.cc
  40. mouse_latency_browsertest.cc
  41. mouse_wheel_event_queue.cc
  42. mouse_wheel_event_queue.h
  43. mouse_wheel_event_queue_unittest.cc
  44. mouse_wheel_phase_handler.cc
  45. mouse_wheel_phase_handler.h
  46. mouse_wheel_rails_filter_mac.cc
  47. mouse_wheel_rails_filter_mac.h
  48. mouse_wheel_rails_filter_unittest_mac.cc
  49. one_shot_timeout_monitor.cc
  50. one_shot_timeout_monitor.h
  51. OWNERS
  52. passthrough_touch_event_queue.cc
  53. passthrough_touch_event_queue.h
  54. passthrough_touch_event_queue_unittest.cc
  55. README.md
  56. render_widget_host_latency_tracker.cc
  57. render_widget_host_latency_tracker.h
  58. render_widget_host_latency_tracker_unittest.cc
  59. scroll_latency_browsertest.cc
  60. stylus_text_selector.cc
  61. stylus_text_selector.h
  62. stylus_text_selector_unittest.cc
  63. synthetic_gesture.cc
  64. synthetic_gesture.h
  65. synthetic_gesture_controller.cc
  66. synthetic_gesture_controller.h
  67. synthetic_gesture_controller_unittest.cc
  68. synthetic_gesture_target.h
  69. synthetic_gesture_target_android.cc
  70. synthetic_gesture_target_android.h
  71. synthetic_gesture_target_aura.cc
  72. synthetic_gesture_target_aura.h
  73. synthetic_gesture_target_base.cc
  74. synthetic_gesture_target_base.h
  75. synthetic_gesture_target_mac.h
  76. synthetic_gesture_target_mac.mm
  77. synthetic_input_browsertest.cc
  78. synthetic_mouse_driver.cc
  79. synthetic_mouse_driver.h
  80. synthetic_pen_driver.cc
  81. synthetic_pen_driver.h
  82. synthetic_pinch_gesture.cc
  83. synthetic_pinch_gesture.h
  84. synthetic_pointer_action.cc
  85. synthetic_pointer_action.h
  86. synthetic_pointer_action_unittest.cc
  87. synthetic_pointer_driver.cc
  88. synthetic_pointer_driver.h
  89. synthetic_smooth_drag_gesture.cc
  90. synthetic_smooth_drag_gesture.h
  91. synthetic_smooth_move_gesture.cc
  92. synthetic_smooth_move_gesture.h
  93. synthetic_smooth_scroll_gesture.cc
  94. synthetic_smooth_scroll_gesture.h
  95. synthetic_tap_gesture.cc
  96. synthetic_tap_gesture.h
  97. synthetic_touch_driver.cc
  98. synthetic_touch_driver.h
  99. synthetic_touchpad_pinch_gesture.cc
  100. synthetic_touchpad_pinch_gesture.h
  101. synthetic_touchscreen_pinch_gesture.cc
  102. synthetic_touchscreen_pinch_gesture.h
  103. tap_suppression_controller.cc
  104. tap_suppression_controller.h
  105. tap_suppression_controller_unittest.cc
  106. timeout_monitor.cc
  107. timeout_monitor.h
  108. touch_action_browsertest.cc
  109. touch_action_filter.cc
  110. touch_action_filter.h
  111. touch_action_filter_unittest.cc
  112. touch_emulator.cc
  113. touch_emulator.h
  114. touch_emulator_client.h
  115. touch_emulator_unittest.cc
  116. touch_input_browsertest.cc
  117. touch_selection_controller_client_aura.cc
  118. touch_selection_controller_client_aura.h
  119. touch_selection_controller_client_aura_browsertest.cc
  120. touch_selection_controller_client_child_frame.cc
  121. touch_selection_controller_client_child_frame.h
  122. touch_selection_controller_client_manager_android.cc
  123. touch_selection_controller_client_manager_android.h
  124. touch_timeout_handler.cc
  125. touch_timeout_handler.h
  126. touchpad_pinch_browsertest.cc
  127. touchpad_pinch_event_queue.cc
  128. touchpad_pinch_event_queue.h
  129. touchpad_pinch_event_queue_unittest.cc
  130. touchpad_tap_suppression_controller.cc
  131. touchpad_tap_suppression_controller.h
  132. touchscreen_tap_suppression_controller.cc
  133. touchscreen_tap_suppression_controller.h
  134. web_input_event_builders_android.cc
  135. web_input_event_builders_android.h
  136. web_input_event_builders_android_unittest.cc
  137. web_input_event_builders_mac.h
  138. web_input_event_builders_mac.mm
  139. web_input_event_builders_mac_unittest.mm
  140. web_input_event_util_unittest.cc
  141. wheel_event_listener_browsertest.cc
  142. wheel_scroll_latching_browsertest.cc
content/browser/renderer_host/input/README.md

Renderer Host Input

This directory contains browser side input event handling code.

TouchpadPinchEventQueue

In order for pages to override the behaviour of touchpad pinch zooming, we offer synthetic wheel events that may be canceled. The TouchpadPinchEventQueue accepts the gesture pinch events created from native events and sends the appropriate wheel events to the renderer. Once the renderer has acknowledged a wheel event, we offer the corresponding gesture pinch event back to the client of the TouchpadPinchEventQueue. If the pinch has not been consumed by the page, the client may go on to send the actual gesture pinch event to the renderer which will perform the pinch zoom.

Note that for touchscreen gesture pinch events, there is no need for a similar queue as touch events would have already been offered to the renderer before being recognized as a pinch gesture.

See issue 289887 for the discussion on offering wheel events for touchpad pinch.

Touchpad pinch zoom design doc.