| OLD | NEW |
| 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 <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 // Called by OnMsgInputEventAck() to process a wheel event ack message. | 580 // Called by OnMsgInputEventAck() to process a wheel event ack message. |
| 581 // This could result in a task being posted to allow additional wheel | 581 // This could result in a task being posted to allow additional wheel |
| 582 // input messages to be coalesced. | 582 // input messages to be coalesced. |
| 583 void ProcessWheelAck(bool processed); | 583 void ProcessWheelAck(bool processed); |
| 584 | 584 |
| 585 // Called by OnMsgInputEventAck() to process a gesture event ack message. | 585 // Called by OnMsgInputEventAck() to process a gesture event ack message. |
| 586 // This validates the gesture for suppression of touchpad taps and sends one | 586 // This validates the gesture for suppression of touchpad taps and sends one |
| 587 // previously queued coalesced gesture if it exists. | 587 // previously queued coalesced gesture if it exists. |
| 588 void ProcessGestureAck(bool processed, int type); | 588 void ProcessGestureAck(bool processed, int type); |
| 589 | 589 |
| 590 void SimulateTouchGestureWithMouse(const WebKit::WebMouseEvent& mouse_event); |
| 591 |
| 590 // Called on OnMsgInputEventAck() to process a touch event ack message. | 592 // Called on OnMsgInputEventAck() to process a touch event ack message. |
| 591 // This can result in a gesture event being generated and sent back to the | 593 // This can result in a gesture event being generated and sent back to the |
| 592 // renderer. | 594 // renderer. |
| 593 void ProcessTouchAck(WebKit::WebInputEvent::Type type, bool processed); | 595 void ProcessTouchAck(WebKit::WebInputEvent::Type type, bool processed); |
| 594 | 596 |
| 595 // Called when there is a new auto resize (using a post to avoid a stack | 597 // Called when there is a new auto resize (using a post to avoid a stack |
| 596 // which may get in recursive loops). | 598 // which may get in recursive loops). |
| 597 void DelayedAutoResized(); | 599 void DelayedAutoResized(); |
| 598 | 600 |
| 599 // Called periodically to advance the active scroll gesture after being | 601 // Called periodically to advance the active scroll gesture after being |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 scoped_ptr<TapSuppressionController> tap_suppression_controller_; | 780 scoped_ptr<TapSuppressionController> tap_suppression_controller_; |
| 779 | 781 |
| 780 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; | 782 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; |
| 781 | 783 |
| 782 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 784 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 783 }; | 785 }; |
| 784 | 786 |
| 785 } // namespace content | 787 } // namespace content |
| 786 | 788 |
| 787 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 789 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |