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

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

Issue 120513005: [Android] Perform eager gesture recognition on MotionEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More testing Created 6 years, 10 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
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_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include <OpenGL/OpenGL.h> 9 #include <OpenGL/OpenGL.h>
10 #endif 10 #endif
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual bool IsShowingContextMenu() const OVERRIDE; 57 virtual bool IsShowingContextMenu() const OVERRIDE;
58 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; 58 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE;
59 virtual base::string16 GetSelectedText() const OVERRIDE; 59 virtual base::string16 GetSelectedText() const OVERRIDE;
60 virtual bool IsMouseLocked() OVERRIDE; 60 virtual bool IsMouseLocked() OVERRIDE;
61 virtual void UnhandledWheelEvent( 61 virtual void UnhandledWheelEvent(
62 const blink::WebMouseWheelEvent& event) OVERRIDE; 62 const blink::WebMouseWheelEvent& event) OVERRIDE;
63 virtual InputEventAckState FilterInputEvent( 63 virtual InputEventAckState FilterInputEvent(
64 const blink::WebInputEvent& input_event) OVERRIDE; 64 const blink::WebInputEvent& input_event) OVERRIDE;
65 virtual void OnSetNeedsFlushInput() OVERRIDE; 65 virtual void OnSetNeedsFlushInput() OVERRIDE;
66 virtual void OnDidFlushInput() OVERRIDE; 66 virtual void OnDidFlushInput() OVERRIDE;
67 virtual void GestureEventAck(int gesture_event_type, 67 virtual void GestureEventAck(const blink::WebGestureEvent& event,
68 InputEventAckState ack_result) OVERRIDE; 68 InputEventAckState ack_result) OVERRIDE;
69 virtual void SetPopupType(blink::WebPopupType popup_type) OVERRIDE; 69 virtual void SetPopupType(blink::WebPopupType popup_type) OVERRIDE;
70 virtual blink::WebPopupType GetPopupType() OVERRIDE; 70 virtual blink::WebPopupType GetPopupType() OVERRIDE;
71 virtual BrowserAccessibilityManager* 71 virtual BrowserAccessibilityManager*
72 GetBrowserAccessibilityManager() const OVERRIDE; 72 GetBrowserAccessibilityManager() const OVERRIDE;
73 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; 73 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE;
74 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 74 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
75 InputEventAckState ack_result) OVERRIDE; 75 InputEventAckState ack_result) OVERRIDE;
76 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 76 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
77 OVERRIDE; 77 OVERRIDE;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 uint32 renderer_frame_number_; 167 uint32 renderer_frame_number_;
168 168
169 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_; 169 base::OneShotTimer<RenderWidgetHostViewBase> flush_input_timer_;
170 170
171 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 171 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
172 }; 172 };
173 173
174 } // namespace content 174 } // namespace content
175 175
176 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 176 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698