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

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

Issue 617423002: Make GestureTextSelector detect its own gestures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sort gyp/gn Created 6 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
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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 virtual void OnLostResources() OVERRIDE; 198 virtual void OnLostResources() OVERRIDE;
199 199
200 // DelegatedFrameEvictor implementation 200 // DelegatedFrameEvictor implementation
201 virtual void EvictDelegatedFrame() OVERRIDE; 201 virtual void EvictDelegatedFrame() OVERRIDE;
202 202
203 virtual SkColorType PreferredReadbackFormat() OVERRIDE; 203 virtual SkColorType PreferredReadbackFormat() OVERRIDE;
204 204
205 // GestureTextSelectorClient implementation. 205 // GestureTextSelectorClient implementation.
206 virtual void ShowSelectionHandlesAutomatically() OVERRIDE; 206 virtual void ShowSelectionHandlesAutomatically() OVERRIDE;
207 virtual void SelectRange(float x1, float y1, float x2, float y2) OVERRIDE; 207 virtual void SelectRange(float x1, float y1, float x2, float y2) OVERRIDE;
208 virtual void Unselect() OVERRIDE;
209 virtual void LongPress(base::TimeTicks time, float x, float y) OVERRIDE; 208 virtual void LongPress(base::TimeTicks time, float x, float y) OVERRIDE;
210 209
211 // Non-virtual methods 210 // Non-virtual methods
212 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 211 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
213 SkColor GetCachedBackgroundColor() const; 212 SkColor GetCachedBackgroundColor() const;
214 void SendKeyEvent(const NativeWebKeyboardEvent& event); 213 void SendKeyEvent(const NativeWebKeyboardEvent& event);
215 void SendMouseEvent(const blink::WebMouseEvent& event); 214 void SendMouseEvent(const blink::WebMouseEvent& event);
216 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); 215 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event);
217 void SendGestureEvent(const blink::WebGestureEvent& event); 216 void SendGestureEvent(const blink::WebGestureEvent& event);
218 217
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 gfx::Vector2dF last_scroll_offset_; 414 gfx::Vector2dF last_scroll_offset_;
416 415
417 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 416 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
418 417
419 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 418 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
420 }; 419 };
421 420
422 } // namespace content 421 } // namespace content
423 422
424 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 423 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698