| 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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 GestureEventFilter* gesture_event_filter() { | 424 GestureEventFilter* gesture_event_filter() { |
| 425 return gesture_event_filter_.get(); | 425 return gesture_event_filter_.get(); |
| 426 } | 426 } |
| 427 | 427 |
| 428 OverscrollController* overscroll_controller() { | 428 OverscrollController* overscroll_controller() { |
| 429 return overscroll_controller_.get(); | 429 return overscroll_controller_.get(); |
| 430 } | 430 } |
| 431 | 431 |
| 432 int SyntheticScrollMessageInterval() const; | 432 int SyntheticScrollMessageInterval() const; |
| 433 | 433 |
| 434 // Suppreses future char events until a keydown. See |
| 435 // suppress_next_char_events_. |
| 436 void SuppressNextCharEvents(); |
| 437 |
| 434 protected: | 438 protected: |
| 435 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; | 439 virtual RenderWidgetHostImpl* AsRenderWidgetHostImpl() OVERRIDE; |
| 436 | 440 |
| 437 // Transmits the given input event. This is an internal helper for | 441 // Transmits the given input event. This is an internal helper for |
| 438 // |ForwardInputEvent()| and should not be used directly from elsewhere. | 442 // |ForwardInputEvent()| and should not be used directly from elsewhere. |
| 439 void SendInputEvent(const WebKit::WebInputEvent& input_event, | 443 void SendInputEvent(const WebKit::WebInputEvent& input_event, |
| 440 int event_size, bool is_keyboard_shortcut); | 444 int event_size, bool is_keyboard_shortcut); |
| 441 | 445 |
| 442 // Internal implementation of the public Forward*Event() methods. | 446 // Internal implementation of the public Forward*Event() methods. |
| 443 void ForwardInputEvent(const WebKit::WebInputEvent& input_event, | 447 void ForwardInputEvent(const WebKit::WebInputEvent& input_event, |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 #if defined(OS_WIN) | 882 #if defined(OS_WIN) |
| 879 std::list<HWND> dummy_windows_for_activation_; | 883 std::list<HWND> dummy_windows_for_activation_; |
| 880 #endif | 884 #endif |
| 881 | 885 |
| 882 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 886 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 883 }; | 887 }; |
| 884 | 888 |
| 885 } // namespace content | 889 } // namespace content |
| 886 | 890 |
| 887 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 891 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |