summaryrefslogtreecommitdiffstats
path: root/content/port
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-03 04:23:04 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-03 04:23:04 +0000
commit96277f35f0438f59bf1155dc8431e07037bb9159 (patch)
treee78a65f09f607c6d41088c29e3ff784b079f2baa /content/port
parent77ffff496ed410c309dd7c54db0241fa055f37a5 (diff)
downloadchromium_src-96277f35f0438f59bf1155dc8431e07037bb9159.zip
chromium_src-96277f35f0438f59bf1155dc8431e07037bb9159.tar.gz
chromium_src-96277f35f0438f59bf1155dc8431e07037bb9159.tar.bz2
Revert 124813 - Improve switch between gestures and touch mode when kEnableTouchEvents
Mostly works, the only problem is that the first touch or gesture on switching "modes" gets lost because Windows doesn't start a touch of the "other" type when TouchRegisterWindow is called while there's a touch in progress. TBR=cpu Review URL: http://codereview.chromium.org/9549020 TBR=scottmg@chromium.org Review URL: https://chromiumcodereview.appspot.com/9572033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r--content/port/browser/render_widget_host_view_port.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index a82fd03..ce18440 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -226,8 +226,7 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView {
// prevent-default on a dispatched touch event, the touch events are queued in
// the GestureRecognizer until invocation of ProcessTouchAck releases it to be
// processed (when |processed| is false) or ignored (when |processed| is true)
- virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type,
- bool processed) = 0;
+ virtual void ProcessTouchAck(bool processed) = 0;
virtual void SetHasHorizontalScrollbar(bool has_horizontal_scrollbar) = 0;
virtual void SetScrollOffsetPinning(