diff options
author | junmin.zhu@intel.com <junmin.zhu@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 00:24:36 +0000 |
---|---|---|
committer | junmin.zhu@intel.com <junmin.zhu@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 00:24:36 +0000 |
commit | 3e308441d45498aec25fd39a9b1da3fc993be200 (patch) | |
tree | 82b09ef9f6ed53d8a4f6279fb860bb213de6de8c /content | |
parent | 1117764beba7084c547b756efc5634c48ee46ff7 (diff) | |
download | chromium_src-3e308441d45498aec25fd39a9b1da3fc993be200.zip chromium_src-3e308441d45498aec25fd39a9b1da3fc993be200.tar.gz chromium_src-3e308441d45498aec25fd39a9b1da3fc993be200.tar.bz2 |
Fixed: touch start event isn't dispatched in realtime on windows.
BUG=113642
TEST=http://o.sitepen.com/labs/code/iphone/events.html
Review URL: http://codereview.chromium.org/9381029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/renderer_host/render_widget_host_view_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc index e272321..3b1c6bb 100644 --- a/content/browser/renderer_host/render_widget_host_view_win.cc +++ b/content/browser/renderer_host/render_widget_host_view_win.cc @@ -942,7 +942,7 @@ LRESULT RenderWidgetHostViewWin::OnCreate(CREATESTRUCT* create_struct) { // Use gestures if touch event switch isn't present or registration fails. if (!CommandLine::ForCurrentProcess()->HasSwitch( switches::kEnableTouchEvents) || - !RegisterTouchWindow(m_hWnd, 0)) { + !RegisterTouchWindow(m_hWnd, TWF_WANTPALM)) { // Single finger panning is consistent with other windows applications. const DWORD gesture_allow = GC_PAN_WITH_SINGLE_FINGER_VERTICALLY | GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY; |