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_ |