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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); | 693 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); |
694 | 694 |
695 // InputRouterClient | 695 // InputRouterClient |
696 InputEventAckState FilterInputEvent( | 696 InputEventAckState FilterInputEvent( |
697 const blink::WebInputEvent& event, | 697 const blink::WebInputEvent& event, |
698 const ui::LatencyInfo& latency_info) override; | 698 const ui::LatencyInfo& latency_info) override; |
699 void IncrementInFlightEventCount( | 699 void IncrementInFlightEventCount( |
700 blink::WebInputEvent::Type event_type) override; | 700 blink::WebInputEvent::Type event_type) override; |
701 void DecrementInFlightEventCount(InputEventAckSource ack_source) override; | 701 void DecrementInFlightEventCount(InputEventAckSource ack_source) override; |
702 void OnHasTouchEventHandlers(bool has_handlers) override; | 702 void OnHasTouchEventHandlers(bool has_handlers) override; |
703 void DidFlush() override; | |
704 void DidOverscroll(const ui::DidOverscrollParams& params) override; | 703 void DidOverscroll(const ui::DidOverscrollParams& params) override; |
705 void DidStopFlinging() override; | 704 void DidStopFlinging() override; |
706 | 705 |
707 // Dispatch input events with latency information | 706 // Dispatch input events with latency information |
708 void DispatchInputEventWithLatencyInfo(const blink::WebInputEvent& event, | 707 void DispatchInputEventWithLatencyInfo(const blink::WebInputEvent& event, |
709 ui::LatencyInfo* latency); | 708 ui::LatencyInfo* latency); |
710 | 709 |
711 // InputAckHandler | 710 // InputAckHandler |
712 void OnKeyboardEventAck(const NativeWebKeyboardEventWithLatencyInfo& event, | 711 void OnKeyboardEventAck(const NativeWebKeyboardEventWithLatencyInfo& event, |
713 InputEventAckState ack_result) override; | 712 InputEventAckState ack_result) override; |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
990 base::OnceClosure begin_frame_callback_; | 989 base::OnceClosure begin_frame_callback_; |
991 | 990 |
992 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 991 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
993 | 992 |
994 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 993 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
995 }; | 994 }; |
996 | 995 |
997 } // namespace content | 996 } // namespace content |
998 | 997 |
999 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 998 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |