Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: ui/base/ui_base_types.h

Issue 1637743002: Identify context menus being opened via the long press gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/input/render_widget_input_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ui_base_types.h
diff --git a/ui/base/ui_base_types.h b/ui/base/ui_base_types.h
index 4ed9f25cfd53b807ac46a839b175754977b7e9f2..846b5d308429a4fffa479965ec54464995e7252c 100644
--- a/ui/base/ui_base_types.h
+++ b/ui/base/ui_base_types.h
@@ -47,7 +47,8 @@ enum MenuSourceType {
MENU_SOURCE_KEYBOARD = 2,
MENU_SOURCE_TOUCH = 3,
tdresser 2016/01/26 13:36:59 Would it be clearer to have MENU_SOURCE_LONG_PRESS
ananta 2016/01/26 20:20:23 Done.
MENU_SOURCE_TOUCH_EDIT_MENU = 4,
- MENU_SOURCE_TYPE_LAST = MENU_SOURCE_TOUCH_EDIT_MENU
+ MENU_SOURCE_LONG_PRESS = 5,
+ MENU_SOURCE_TYPE_LAST = MENU_SOURCE_LONG_PRESS
};
UI_BASE_EXPORT MenuSourceType GetMenuSourceTypeForEvent(const ui::Event& event);
« no previous file with comments | « content/renderer/input/render_widget_input_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698