| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 // Stops all existing hang monitor timeouts and assumes the renderer is | 237 // Stops all existing hang monitor timeouts and assumes the renderer is |
| 238 // responsive. | 238 // responsive. |
| 239 void StopHangMonitorTimeout(); | 239 void StopHangMonitorTimeout(); |
| 240 | 240 |
| 241 // Forwards the given message to the renderer. These are called by the view | 241 // Forwards the given message to the renderer. These are called by the view |
| 242 // when it has received a message. | 242 // when it has received a message. |
| 243 void ForwardGestureEvent(const WebKit::WebGestureEvent& gesture_event); | 243 void ForwardGestureEvent(const WebKit::WebGestureEvent& gesture_event); |
| 244 virtual void ForwardTouchEvent(const WebKit::WebTouchEvent& touch_event); | 244 virtual void ForwardTouchEvent(const WebKit::WebTouchEvent& touch_event); |
| 245 | 245 |
| 246 // Forwards the given event immediately to the renderer. | 246 // Forwards the given event immediately to the renderer. |
| 247 void ForwardMouseEventImmediately(const WebKit::WebMouseEvent& mouse_event); |
| 247 void ForwardTouchEventImmediately(const WebKit::WebTouchEvent& touch_event); | 248 void ForwardTouchEventImmediately(const WebKit::WebTouchEvent& touch_event); |
| 248 void ForwardGestureEventImmediately( | 249 void ForwardGestureEventImmediately( |
| 249 const WebKit::WebGestureEvent& gesture_event); | 250 const WebKit::WebGestureEvent& gesture_event); |
| 250 | 251 |
| 251 #if defined(TOOLKIT_GTK) | 252 #if defined(TOOLKIT_GTK) |
| 252 // Give key press listeners a chance to handle this key press. This allow | 253 // Give key press listeners a chance to handle this key press. This allow |
| 253 // widgets that don't have focus to still handle key presses. | 254 // widgets that don't have focus to still handle key presses. |
| 254 bool KeyPressListenersHandleEvent(GdkEventKey* event); | 255 bool KeyPressListenersHandleEvent(GdkEventKey* event); |
| 255 #endif // defined(TOOLKIT_GTK) | 256 #endif // defined(TOOLKIT_GTK) |
| 256 | 257 |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 #if defined(OS_WIN) | 883 #if defined(OS_WIN) |
| 883 std::list<HWND> dummy_windows_for_activation_; | 884 std::list<HWND> dummy_windows_for_activation_; |
| 884 #endif | 885 #endif |
| 885 | 886 |
| 886 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 887 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 887 }; | 888 }; |
| 888 | 889 |
| 889 } // namespace content | 890 } // namespace content |
| 890 | 891 |
| 891 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 892 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |