Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 11361150: Suppress sending mousedown / mouseup when in fling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed the TSC bug revealed by unit tests by avoiding reentrance to TSC Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // Stops all existing hang monitor timeouts and assumes the renderer is 236 // Stops all existing hang monitor timeouts and assumes the renderer is
237 // responsive. 237 // responsive.
238 void StopHangMonitorTimeout(); 238 void StopHangMonitorTimeout();
239 239
240 // Forwards the given message to the renderer. These are called by the view 240 // Forwards the given message to the renderer. These are called by the view
241 // when it has received a message. 241 // when it has received a message.
242 void ForwardGestureEvent(const WebKit::WebGestureEvent& gesture_event); 242 void ForwardGestureEvent(const WebKit::WebGestureEvent& gesture_event);
243 virtual void ForwardTouchEvent(const WebKit::WebTouchEvent& touch_event); 243 virtual void ForwardTouchEvent(const WebKit::WebTouchEvent& touch_event);
244 244
245 // Forwards the given event immediately to the renderer. 245 // Forwards the given event immediately to the renderer.
246 void ForwardMouseEventImmediately(const WebKit::WebMouseEvent& mouse_event);
246 void ForwardTouchEventImmediately(const WebKit::WebTouchEvent& touch_event); 247 void ForwardTouchEventImmediately(const WebKit::WebTouchEvent& touch_event);
247 void ForwardGestureEventImmediately( 248 void ForwardGestureEventImmediately(
248 const WebKit::WebGestureEvent& gesture_event); 249 const WebKit::WebGestureEvent& gesture_event);
249 250
250 #if defined(TOOLKIT_GTK) 251 #if defined(TOOLKIT_GTK)
251 // Give key press listeners a chance to handle this key press. This allow 252 // Give key press listeners a chance to handle this key press. This allow
252 // widgets that don't have focus to still handle key presses. 253 // widgets that don't have focus to still handle key presses.
253 bool KeyPressListenersHandleEvent(GdkEventKey* event); 254 bool KeyPressListenersHandleEvent(GdkEventKey* event);
254 #endif // defined(TOOLKIT_GTK) 255 #endif // defined(TOOLKIT_GTK)
255 256
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 #if defined(OS_WIN) 882 #if defined(OS_WIN)
882 std::list<HWND> dummy_windows_for_activation_; 883 std::list<HWND> dummy_windows_for_activation_;
883 #endif 884 #endif
884 885
885 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 886 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
886 }; 887 };
887 888
888 } // namespace content 889 } // namespace content
889 890
890 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 891 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698