summaryrefslogtreecommitdiffstats
path: root/content/content_common.gypi
diff options
context:
space:
mode:
authorvarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-07 04:14:52 +0000
committervarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-07 04:14:52 +0000
commitba16e3a2fbc3a4b18f75299eccac31e8745bb2e0 (patch)
tree11bcccda966c480e7f754d62e9f0b35b2a3f10b4 /content/content_common.gypi
parente9029bbe94d116f1822d8407a2abab14bbcce74a (diff)
downloadchromium_src-ba16e3a2fbc3a4b18f75299eccac31e8745bb2e0.zip
chromium_src-ba16e3a2fbc3a4b18f75299eccac31e8745bb2e0.tar.gz
chromium_src-ba16e3a2fbc3a4b18f75299eccac31e8745bb2e0.tar.bz2
Context menus should appear above the touch point if invoked by long press.
This CL does this for content area context menus only. I will send out another CL for same functionality on views controls. We acheive this as follows: We remember in render_widget_host, which kind of event is currently in process. When we get a request for showing context menu, in render_view_host, we check if currently we are processing a gesture event, and if so, we display the context menu appropriately. BUG=142015 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10917102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155306 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r--content/content_common.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi
index c994b55..c86afd7 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -47,6 +47,7 @@
'public/common/content_switches.h',
'public/common/context_menu_params.cc',
'public/common/context_menu_params.h',
+ 'public/common/context_menu_source_type.h',
'public/common/console_message_level.h',
'public/common/dx_diag_node.cc',
'public/common/dx_diag_node.h',