RootView sends ui::MENU_SOURCE_TOUCH regardless if the event was a two finger tap or long press. |
||
Issue descriptionWhen showing a context menu via gesture, RootView sends ui::MENU_SOURCE_TOUCH regardless of whether the event was a two finger tap or long press. ui::MENU_SOURCE_TOUCH is sent here[0] We have the extra granularity[1]. Why not use it? This would allow for better handling down stream. [0] https://cs.chromium.org/chromium/src/ui/views/widget/root_view.cc?sq=package:chromium&g=0&l=138 [1] https://cs.chromium.org/chromium/src/ui/base/ui_base_types.h?l=52&gsn=MENU_SOURCE_TOUCH
,
Nov 29
|
||
►
Sign in to add a comment |
||
Comment 1 by newcomer@chromium.org
, Nov 21