Chromium Code Reviews| 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 <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 744 const TouchEventWithLatencyInfo& touch_event) OVERRIDE; | 744 const TouchEventWithLatencyInfo& touch_event) OVERRIDE; |
| 745 virtual bool OnSendGestureEventImmediately( | 745 virtual bool OnSendGestureEventImmediately( |
| 746 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE; | 746 const GestureEventWithLatencyInfo& gesture_event) OVERRIDE; |
| 747 virtual void SetNeedsFlush() OVERRIDE; | 747 virtual void SetNeedsFlush() OVERRIDE; |
| 748 virtual void DidFlush() OVERRIDE; | 748 virtual void DidFlush() OVERRIDE; |
| 749 | 749 |
| 750 // InputAckHandler | 750 // InputAckHandler |
| 751 virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event, | 751 virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event, |
| 752 InputEventAckState ack_result) OVERRIDE; | 752 InputEventAckState ack_result) OVERRIDE; |
| 753 virtual void OnWheelEventAck(const WebKit::WebMouseWheelEvent& event, | 753 virtual void OnWheelEventAck(const WebKit::WebMouseWheelEvent& event, |
| 754 InputEventAckState ack_result) OVERRIDE; | 754 InputEventAckState ack_result, |
| 755 virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event, | 755 ui::LatencyInfo* latency) OVERRIDE; |
|
jdduke (slow)
2013/10/08 16:28:08
Please undo these arg changes.
Yufeng Shen (Slow to review)
2013/10/08 19:35:59
Done.
| |
| 756 InputEventAckState ack_result) OVERRIDE; | 756 virtual void OnTouchEventAck(const WebKit::WebTouchEvent& event, |
| 757 InputEventAckState ack_result, | |
| 758 ui::LatencyInfo* latency) OVERRIDE; | |
| 757 virtual void OnGestureEventAck(const WebKit::WebGestureEvent& event, | 759 virtual void OnGestureEventAck(const WebKit::WebGestureEvent& event, |
| 758 InputEventAckState ack_result) OVERRIDE; | 760 InputEventAckState ack_result, |
| 761 ui::LatencyInfo* latency) OVERRIDE; | |
| 759 virtual void OnUnexpectedEventAck(UnexpectedEventAckType type) OVERRIDE; | 762 virtual void OnUnexpectedEventAck(UnexpectedEventAckType type) OVERRIDE; |
| 760 | 763 |
| 761 void SimulateTouchGestureWithMouse(const WebKit::WebMouseEvent& mouse_event); | 764 void SimulateTouchGestureWithMouse(const WebKit::WebMouseEvent& mouse_event); |
| 762 | 765 |
| 763 // Called when there is a new auto resize (using a post to avoid a stack | 766 // Called when there is a new auto resize (using a post to avoid a stack |
| 764 // which may get in recursive loops). | 767 // which may get in recursive loops). |
| 765 void DelayedAutoResized(); | 768 void DelayedAutoResized(); |
| 766 | 769 |
| 767 // Our delegate, which wants to know mainly about keyboard events. | 770 // Our delegate, which wants to know mainly about keyboard events. |
| 768 // It will remain non-NULL until DetachDelegate() is called. | 771 // It will remain non-NULL until DetachDelegate() is called. |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 937 int64 last_input_number_; | 940 int64 last_input_number_; |
| 938 | 941 |
| 939 BrowserRenderingStats rendering_stats_; | 942 BrowserRenderingStats rendering_stats_; |
| 940 | 943 |
| 941 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 944 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 942 }; | 945 }; |
| 943 | 946 |
| 944 } // namespace content | 947 } // namespace content |
| 945 | 948 |
| 946 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 949 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |