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

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

Issue 281723010: Bundle DidOverscrollParams with the InputEventAck (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 years, 7 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_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 const blink::WebInputEvent& input_event) OVERRIDE; 152 const blink::WebInputEvent& input_event) OVERRIDE;
153 virtual void OnSetNeedsFlushInput() OVERRIDE; 153 virtual void OnSetNeedsFlushInput() OVERRIDE;
154 virtual void GestureEventAck(const blink::WebGestureEvent& event, 154 virtual void GestureEventAck(const blink::WebGestureEvent& event,
155 InputEventAckState ack_result) OVERRIDE; 155 InputEventAckState ack_result) OVERRIDE;
156 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE; 156 virtual void CreateBrowserAccessibilityManagerIfNeeded() OVERRIDE;
157 virtual bool LockMouse() OVERRIDE; 157 virtual bool LockMouse() OVERRIDE;
158 virtual void UnlockMouse() OVERRIDE; 158 virtual void UnlockMouse() OVERRIDE;
159 virtual void OnSwapCompositorFrame( 159 virtual void OnSwapCompositorFrame(
160 uint32 output_surface_id, 160 uint32 output_surface_id,
161 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; 161 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
162 virtual void DidOverscroll(const DidOverscrollParams& params) OVERRIDE;
162 virtual void DidStopFlinging() OVERRIDE; 163 virtual void DidStopFlinging() OVERRIDE;
163 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, 164 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
164 const SkBitmap& zoomed_bitmap) OVERRIDE; 165 const SkBitmap& zoomed_bitmap) OVERRIDE;
165 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 166 virtual scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
166 OVERRIDE; 167 OVERRIDE;
167 virtual void LockCompositingSurface() OVERRIDE; 168 virtual void LockCompositingSurface() OVERRIDE;
168 virtual void UnlockCompositingSurface() OVERRIDE; 169 virtual void UnlockCompositingSurface() OVERRIDE;
169 170
170 // cc::DelegatedFrameResourceCollectionClient implementation. 171 // cc::DelegatedFrameResourceCollectionClient implementation.
171 virtual void UnusedResourcesAreAvailable() OVERRIDE; 172 virtual void UnusedResourcesAreAvailable() OVERRIDE;
(...skipping 21 matching lines...) Expand all
193 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 194 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
194 SkColor GetCachedBackgroundColor() const; 195 SkColor GetCachedBackgroundColor() const;
195 void SendKeyEvent(const NativeWebKeyboardEvent& event); 196 void SendKeyEvent(const NativeWebKeyboardEvent& event);
196 void SendTouchEvent(const blink::WebTouchEvent& event); 197 void SendTouchEvent(const blink::WebTouchEvent& event);
197 void SendMouseEvent(const blink::WebMouseEvent& event); 198 void SendMouseEvent(const blink::WebMouseEvent& event);
198 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); 199 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event);
199 void SendGestureEvent(const blink::WebGestureEvent& event); 200 void SendGestureEvent(const blink::WebGestureEvent& event);
200 201
201 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); 202 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params);
202 void OnDidChangeBodyBackgroundColor(SkColor color); 203 void OnDidChangeBodyBackgroundColor(SkColor color);
203 void OnDidOverscroll(const DidOverscrollParams& params);
204 void OnStartContentIntent(const GURL& content_url); 204 void OnStartContentIntent(const GURL& content_url);
205 void OnSetNeedsBeginFrame(bool enabled); 205 void OnSetNeedsBeginFrame(bool enabled);
206 void OnSmartClipDataExtracted(const base::string16& result); 206 void OnSmartClipDataExtracted(const base::string16& result);
207 207
208 bool OnTouchEvent(const ui::MotionEvent& event); 208 bool OnTouchEvent(const ui::MotionEvent& event);
209 void ResetGestureDetection(); 209 void ResetGestureDetection();
210 void SetDoubleTapSupportEnabled(bool enabled); 210 void SetDoubleTapSupportEnabled(bool enabled);
211 void SetMultiTouchZoomSupportEnabled(bool enabled); 211 void SetMultiTouchZoomSupportEnabled(bool enabled);
212 212
213 long GetNativeImeAdapter(); 213 long GetNativeImeAdapter();
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 }; 354 };
355 355
356 scoped_ptr<LastFrameInfo> last_frame_info_; 356 scoped_ptr<LastFrameInfo> last_frame_info_;
357 357
358 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 358 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
359 }; 359 };
360 360
361 } // namespace content 361 } // namespace content
362 362
363 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 363 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698