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

Unified Diff: content/public/common/context_menu_event_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_event_type.h
diff --git a/content/public/common/context_menu_event_type.h b/content/public/common/context_menu_event_type.h
new file mode 100644
index 0000000000000000000000000000000000000000..515b56e1d9b925fed41effe120eafba730771ad2
--- /dev/null
+++ b/content/public/common/context_menu_event_type.h
@@ -0,0 +1,19 @@
+// 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_EVENT_TYPE_H_
+#define CONTENT_PUBLIC_COMMON_CONTEXT_MENU_EVENT_TYPE_H_
+
+namespace content {
+
+enum ContextMenuEventType {
+ NO_CONTEXT_MENU,
sky 2012/09/05 23:57:00 Should this be named ContextMenuSourceType? Eithe
varunjain 2012/09/06 03:49:55 Done.
+ KEYBOARD_CONTEXT_MENU,
+ MOUSE_CONTEXT_MENU,
+ GESTURE_CONTEXT_MENU,
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_EVENT_TYPE_H_

Powered by Google App Engine
This is Rietveld 408576698