| 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 void SendScreenRects(); | 441 void SendScreenRects(); |
| 442 | 442 |
| 443 GestureEventFilter* gesture_event_filter() { | 443 GestureEventFilter* gesture_event_filter() { |
| 444 return gesture_event_filter_.get(); | 444 return gesture_event_filter_.get(); |
| 445 } | 445 } |
| 446 | 446 |
| 447 OverscrollController* overscroll_controller() { | 447 OverscrollController* overscroll_controller() { |
| 448 return overscroll_controller_.get(); | 448 return overscroll_controller_.get(); |
| 449 } | 449 } |
| 450 | 450 |
| 451 virtual int SyntheticScrollMessageInterval() const OVERRIDE; |
| 452 |
| 451 protected: | 453 protected: |
| 452 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; | 454 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; |
| 453 | 455 |
| 454 // Transmits the given input event. This is an internal helper for | 456 // Transmits the given input event. This is an internal helper for |
| 455 // |ForwardInputEvent()| and should not be used directly from elsewhere. | 457 // |ForwardInputEvent()| and should not be used directly from elsewhere. |
| 456 void SendInputEvent(const WebKit::WebInputEvent& input_event, | 458 void SendInputEvent(const WebKit::WebInputEvent& input_event, |
| 457 int event_size, bool is_keyboard_shortcut); | 459 int event_size, bool is_keyboard_shortcut); |
| 458 | 460 |
| 459 // Internal implementation of the public Forward*Event() methods. | 461 // Internal implementation of the public Forward*Event() methods. |
| 460 void ForwardInputEvent(const WebKit::WebInputEvent& input_event, | 462 void ForwardInputEvent(const WebKit::WebInputEvent& input_event, |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 #if defined(OS_WIN) | 884 #if defined(OS_WIN) |
| 883 std::list<HWND> dummy_windows_for_activation_; | 885 std::list<HWND> dummy_windows_for_activation_; |
| 884 #endif | 886 #endif |
| 885 | 887 |
| 886 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 888 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 887 }; | 889 }; |
| 888 | 890 |
| 889 } // namespace content | 891 } // namespace content |
| 890 | 892 |
| 891 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 893 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |