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

Unified Diff: content/public/common/context_menu_source_type.h

Issue 10917102: Context menus should appear above the touch point if invoked by long press. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 3 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
Index: content/public/common/context_menu_source_type.h
diff --git a/content/public/common/context_menu_source_type.h b/content/public/common/context_menu_source_type.h
new file mode 100644
index 0000000000000000000000000000000000000000..c030c9ded4ec84281d6ebe6e11b2b7b61c080b1a
--- /dev/null
+++ b/content/public/common/context_menu_source_type.h
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_COMMON_CONTEXT_MENU_SOURCE_TYPE_H_
+#define CONTENT_PUBLIC_COMMON_CONTEXT_MENU_SOURCE_TYPE_H_
+
+namespace content {
+
+enum ContextMenuSourceType {
+ CONTEXT_MENU_SOURCE_MOUSE,
+ CONTEXT_MENU_SOURCE_KEYBOARD,
+ CONTEXT_MENU_SOURCE_GESTURE,
sky 2012/09/06 16:35:03 You sure you don't want _TOUCH? At a minimum docum
varunjain 2012/09/06 16:43:45 there is no way to invoke context menu from a touc
sky 2012/09/06 17:04:19 The reason I don't like GESTURE is there are other
varunjain 2012/09/06 17:11:42 changed to TOUCH
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_SOURCE_TYPE_H_

Powered by Google App Engine
This is Rietveld 408576698