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

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..e1fc54bf588912d40a2977a0a46fece814f49335
--- /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_TOUCH,
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_CONTEXT_MENU_SOURCE_TYPE_H_

Powered by Google App Engine
This is Rietveld 408576698