| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); | 606 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); |
| 607 | 607 |
| 608 // InputRouterClient | 608 // InputRouterClient |
| 609 InputEventAckState FilterInputEvent( | 609 InputEventAckState FilterInputEvent( |
| 610 const blink::WebInputEvent& event, | 610 const blink::WebInputEvent& event, |
| 611 const ui::LatencyInfo& latency_info) override; | 611 const ui::LatencyInfo& latency_info) override; |
| 612 void IncrementInFlightEventCount() override; | 612 void IncrementInFlightEventCount() override; |
| 613 void DecrementInFlightEventCount() override; | 613 void DecrementInFlightEventCount() override; |
| 614 void OnHasTouchEventHandlers(bool has_handlers) override; | 614 void OnHasTouchEventHandlers(bool has_handlers) override; |
| 615 void DidFlush() override; | 615 void DidFlush() override; |
| 616 void DidOverscroll(const DidOverscrollParams& params) override; | 616 void DidOverscroll(const ui::DidOverscrollParams& params) override; |
| 617 void DidStopFlinging() override; | 617 void DidStopFlinging() override; |
| 618 | 618 |
| 619 // Dispatch input events with latency information | 619 // Dispatch input events with latency information |
| 620 void DispatchInputEventWithLatencyInfo(const blink::WebInputEvent& event, | 620 void DispatchInputEventWithLatencyInfo(const blink::WebInputEvent& event, |
| 621 ui::LatencyInfo* latency); | 621 ui::LatencyInfo* latency); |
| 622 | 622 |
| 623 // InputAckHandler | 623 // InputAckHandler |
| 624 void OnKeyboardEventAck(const NativeWebKeyboardEventWithLatencyInfo& event, | 624 void OnKeyboardEventAck(const NativeWebKeyboardEventWithLatencyInfo& event, |
| 625 InputEventAckState ack_result) override; | 625 InputEventAckState ack_result) override; |
| 626 void OnMouseEventAck(const MouseEventWithLatencyInfo& event, | 626 void OnMouseEventAck(const MouseEventWithLatencyInfo& event, |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 #endif | 833 #endif |
| 834 | 834 |
| 835 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 835 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 836 | 836 |
| 837 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 837 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 838 }; | 838 }; |
| 839 | 839 |
| 840 } // namespace content | 840 } // namespace content |
| 841 | 841 |
| 842 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 842 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |