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

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

Issue 1066053002: [Android] Allow custom ActionMode creation via ContentViewClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix null check Created 5 years, 8 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 void OnStylusSelectEnd() override; 213 void OnStylusSelectEnd() override;
214 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override; 214 void OnStylusSelectTap(base::TimeTicks time, float x, float y) override;
215 215
216 // ui::TouchSelectionControllerClient implementation. 216 // ui::TouchSelectionControllerClient implementation.
217 bool SupportsAnimation() const override; 217 bool SupportsAnimation() const override;
218 void SetNeedsAnimate() override; 218 void SetNeedsAnimate() override;
219 void MoveCaret(const gfx::PointF& position) override; 219 void MoveCaret(const gfx::PointF& position) override;
220 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; 220 void MoveRangeSelectionExtent(const gfx::PointF& extent) override;
221 void SelectBetweenCoordinates(const gfx::PointF& base, 221 void SelectBetweenCoordinates(const gfx::PointF& base,
222 const gfx::PointF& extent) override; 222 const gfx::PointF& extent) override;
223 void OnSelectionEvent(ui::SelectionEventType event, 223 void OnSelectionEvent(ui::SelectionEventType event) override;
224 const gfx::PointF& anchor_position) override;
225 scoped_ptr<ui::TouchHandleDrawable> CreateDrawable() override; 224 scoped_ptr<ui::TouchHandleDrawable> CreateDrawable() override;
226 225
227 // Non-virtual methods 226 // Non-virtual methods
228 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 227 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
229 SkColor GetCachedBackgroundColor() const; 228 SkColor GetCachedBackgroundColor() const;
230 void SendKeyEvent(const NativeWebKeyboardEvent& event); 229 void SendKeyEvent(const NativeWebKeyboardEvent& event);
231 void SendMouseEvent(const blink::WebMouseEvent& event); 230 void SendMouseEvent(const blink::WebMouseEvent& event);
232 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); 231 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event);
233 void SendGestureEvent(const blink::WebGestureEvent& event); 232 void SendGestureEvent(const blink::WebGestureEvent& event);
234 233
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 gfx::Vector2dF last_scroll_offset_; 432 gfx::Vector2dF last_scroll_offset_;
434 433
435 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 434 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
436 435
437 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 436 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
438 }; 437 };
439 438
440 } // namespace content 439 } // namespace content
441 440
442 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 441 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | 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