summaryrefslogtreecommitdiffstats
path: root/content/browser
diff options
context:
space:
mode:
authorvarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 22:29:00 +0000
committervarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 22:29:00 +0000
commit0fc1e9df6f1231bfd7ba63ab4ab3edb645a1ed17 (patch)
treee9646f71140b66c46b846235021e2a1509af7c0b /content/browser
parent6b757ce2647a9570d090011fc1c66153d349b492 (diff)
downloadchromium_src-0fc1e9df6f1231bfd7ba63ab4ab3edb645a1ed17.zip
chromium_src-0fc1e9df6f1231bfd7ba63ab4ab3edb645a1ed17.tar.gz
chromium_src-0fc1e9df6f1231bfd7ba63ab4ab3edb645a1ed17.tar.bz2
Plumg long press gesture event. Also fix bug in gesture sequence where point
count becomes negative. BUG=102196 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136373 Review URL: https://chromiumcodereview.appspot.com/10384057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136415 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
-rw-r--r--content/browser/renderer_host/web_input_event_aurax11.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/renderer_host/web_input_event_aurax11.cc b/content/browser/renderer_host/web_input_event_aurax11.cc
index 7eda19a..8b20ea2 100644
--- a/content/browser/renderer_host/web_input_event_aurax11.cc
+++ b/content/browser/renderer_host/web_input_event_aurax11.cc
@@ -363,7 +363,7 @@ WebKit::WebGestureEvent MakeWebGestureEventFromAuraEvent(
gesture_event.type = WebKit::WebInputEvent::GestureFlingCancel;
break;
case ui::ET_GESTURE_LONG_PRESS:
- // TODO(tdresser): Integrate long press with WebKit
+ gesture_event.type = WebKit::WebInputEvent::GestureLongPress;
break;
default:
NOTREACHED() << "Unknown gesture type: " << event->type();