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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 11028144: touch: Cleanup touch-event mode switching on windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 // Called by OnMsgInputEventAck() to process a gesture event ack message. 631 // Called by OnMsgInputEventAck() to process a gesture event ack message.
632 // This validates the gesture for suppression of touchpad taps and sends one 632 // This validates the gesture for suppression of touchpad taps and sends one
633 // previously queued coalesced gesture if it exists. 633 // previously queued coalesced gesture if it exists.
634 void ProcessGestureAck(bool processed, int type); 634 void ProcessGestureAck(bool processed, int type);
635 635
636 void SimulateTouchGestureWithMouse(const WebKit::WebMouseEvent& mouse_event); 636 void SimulateTouchGestureWithMouse(const WebKit::WebMouseEvent& mouse_event);
637 637
638 // Called on OnMsgInputEventAck() to process a touch event ack message. 638 // Called on OnMsgInputEventAck() to process a touch event ack message.
639 // This can result in a gesture event being generated and sent back to the 639 // This can result in a gesture event being generated and sent back to the
640 // renderer. 640 // renderer.
641 void ProcessTouchAck(WebKit::WebInputEvent::Type type, bool processed); 641 void ProcessTouchAck(bool processed);
642 642
643 // Called when there is a new auto resize (using a post to avoid a stack 643 // Called when there is a new auto resize (using a post to avoid a stack
644 // which may get in recursive loops). 644 // which may get in recursive loops).
645 void DelayedAutoResized(); 645 void DelayedAutoResized();
646 646
647 // Called periodically to advance the active scroll gesture after being 647 // Called periodically to advance the active scroll gesture after being
648 // initiated by OnMsgBeginSmoothScroll. 648 // initiated by OnMsgBeginSmoothScroll.
649 void TickActiveSmoothScrollGesture(); 649 void TickActiveSmoothScrollGesture();
650 650
651 // Our delegate, which wants to know mainly about keyboard events. 651 // Our delegate, which wants to know mainly about keyboard events.
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 bool tick_active_smooth_scroll_gestures_task_posted_; 830 bool tick_active_smooth_scroll_gestures_task_posted_;
831 831
832 scoped_ptr<GestureEventFilter> gesture_event_filter_; 832 scoped_ptr<GestureEventFilter> gesture_event_filter_;
833 833
834 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 834 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
835 }; 835 };
836 836
837 } // namespace content 837 } // namespace content
838 838
839 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 839 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698