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

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: Removed checking GEF's queue back when it is empty in unit tests 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/gesture_event_filter.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698