| 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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 // Give key press listeners a chance to handle this key press. This allow | 614 // Give key press listeners a chance to handle this key press. This allow |
| 615 // widgets that don't have focus to still handle key presses. | 615 // widgets that don't have focus to still handle key presses. |
| 616 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); | 616 bool KeyPressListenersHandleEvent(const NativeWebKeyboardEvent& event); |
| 617 | 617 |
| 618 // InputRouterClient | 618 // InputRouterClient |
| 619 InputEventAckState FilterInputEvent( | 619 InputEventAckState FilterInputEvent( |
| 620 const blink::WebInputEvent& event, | 620 const blink::WebInputEvent& event, |
| 621 const ui::LatencyInfo& latency_info) override; | 621 const ui::LatencyInfo& latency_info) override; |
| 622 void IncrementInFlightEventCount( | 622 void IncrementInFlightEventCount( |
| 623 blink::WebInputEvent::Type event_type) override; | 623 blink::WebInputEvent::Type event_type) override; |
| 624 void DecrementInFlightEventCount() override; | 624 void DecrementInFlightEventCount(InputEventAckSource ack_source) override; |
| 625 void OnHasTouchEventHandlers(bool has_handlers) override; | 625 void OnHasTouchEventHandlers(bool has_handlers) override; |
| 626 void DidFlush() override; | 626 void DidFlush() override; |
| 627 void DidOverscroll(const ui::DidOverscrollParams& params) override; | 627 void DidOverscroll(const ui::DidOverscrollParams& params) override; |
| 628 void DidStopFlinging() override; | 628 void DidStopFlinging() override; |
| 629 | 629 |
| 630 // Dispatch input events with latency information | 630 // Dispatch input events with latency information |
| 631 void DispatchInputEventWithLatencyInfo(const blink::WebInputEvent& event, | 631 void DispatchInputEventWithLatencyInfo(const blink::WebInputEvent& event, |
| 632 ui::LatencyInfo* latency); | 632 ui::LatencyInfo* latency); |
| 633 | 633 |
| 634 // InputAckHandler | 634 // InputAckHandler |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 #endif | 855 #endif |
| 856 | 856 |
| 857 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 857 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 858 | 858 |
| 859 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 859 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 860 }; | 860 }; |
| 861 | 861 |
| 862 } // namespace content | 862 } // namespace content |
| 863 | 863 |
| 864 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 864 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |