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

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

Issue 11188012: gesture recognizer: Remove the touch-event queue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 2 months 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 // And to also expose it to the RenderWidgetHostView. 313 // And to also expose it to the RenderWidgetHostView.
314 virtual gfx::Rect GetRootWindowResizerRect() const; 314 virtual gfx::Rect GetRootWindowResizerRect() const;
315 315
316 bool ignore_input_events() const { 316 bool ignore_input_events() const {
317 return ignore_input_events_; 317 return ignore_input_events_;
318 } 318 }
319 319
320 // Activate deferred plugin handles. 320 // Activate deferred plugin handles.
321 void ActivateDeferredPluginHandles(); 321 void ActivateDeferredPluginHandles();
322 322
323 bool ShouldForwardTouchEvent() const;
324
323 bool has_touch_handler() const { return has_touch_handler_; } 325 bool has_touch_handler() const { return has_touch_handler_; }
324 326
325 // Notification that the user has made some kind of input that could 327 // Notification that the user has made some kind of input that could
326 // perform an action. See OnUserGesture for more details. 328 // perform an action. See OnUserGesture for more details.
327 void StartUserGesture(); 329 void StartUserGesture();
328 330
329 // Set the RenderView background. 331 // Set the RenderView background.
330 void SetBackground(const SkBitmap& background); 332 void SetBackground(const SkBitmap& background);
331 333
332 // Notifies the renderer that the next key event is bound to one or more 334 // Notifies the renderer that the next key event is bound to one or more
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 835
834 scoped_ptr<TouchEventQueue> touch_event_queue_; 836 scoped_ptr<TouchEventQueue> touch_event_queue_;
835 scoped_ptr<GestureEventFilter> gesture_event_filter_; 837 scoped_ptr<GestureEventFilter> gesture_event_filter_;
836 838
837 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 839 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
838 }; 840 };
839 841
840 } // namespace content 842 } // namespace content
841 843
842 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 844 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698