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

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

Issue 535453002: [Android] Always request BeginFrame when touch received (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 6 years, 3 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_android.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_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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // GestureTextSelectorClient implementation. 217 // GestureTextSelectorClient implementation.
218 virtual void ShowSelectionHandlesAutomatically() OVERRIDE; 218 virtual void ShowSelectionHandlesAutomatically() OVERRIDE;
219 virtual void SelectRange(float x1, float y1, float x2, float y2) OVERRIDE; 219 virtual void SelectRange(float x1, float y1, float x2, float y2) OVERRIDE;
220 virtual void Unselect() OVERRIDE; 220 virtual void Unselect() OVERRIDE;
221 virtual void LongPress(base::TimeTicks time, float x, float y) OVERRIDE; 221 virtual void LongPress(base::TimeTicks time, float x, float y) OVERRIDE;
222 222
223 // Non-virtual methods 223 // Non-virtual methods
224 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 224 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
225 SkColor GetCachedBackgroundColor() const; 225 SkColor GetCachedBackgroundColor() const;
226 void SendKeyEvent(const NativeWebKeyboardEvent& event); 226 void SendKeyEvent(const NativeWebKeyboardEvent& event);
227 void SendTouchEvent(const blink::WebTouchEvent& event);
228 void SendMouseEvent(const blink::WebMouseEvent& event); 227 void SendMouseEvent(const blink::WebMouseEvent& event);
229 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); 228 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event);
230 void SendGestureEvent(const blink::WebGestureEvent& event); 229 void SendGestureEvent(const blink::WebGestureEvent& event);
231 230
232 void OnDidChangeBodyBackgroundColor(SkColor color); 231 void OnDidChangeBodyBackgroundColor(SkColor color);
233 void OnStartContentIntent(const GURL& content_url); 232 void OnStartContentIntent(const GURL& content_url);
234 void OnSetNeedsBeginFrame(bool enabled); 233 void OnSetNeedsBeginFrame(bool enabled);
235 void OnSmartClipDataExtracted(const base::string16& text, 234 void OnSmartClipDataExtracted(const base::string16& text,
236 const base::string16& html, 235 const base::string16& html,
237 const gfx::Rect rect); 236 const gfx::Rect rect);
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 427
429 // List of readbackrequests waiting for arrival of a valid frame. 428 // List of readbackrequests waiting for arrival of a valid frame.
430 std::queue<ReadbackRequest> readbacks_waiting_for_frame_; 429 std::queue<ReadbackRequest> readbacks_waiting_for_frame_;
431 430
432 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
433 }; 432 };
434 433
435 } // namespace content 434 } // namespace content
436 435
437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 436 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698