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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 2883653002: Implement TouchSelectionEditing controls for OOPIF. (Closed)
Patch Set: ChildFrame client uses root view's animation defaults. Created 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_base.h
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h
index 712270847066af3c7dc89d3d85a2e348fc550f32..b86471a79a9d5806342d5b85defea97af78ea4e6 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -74,6 +74,7 @@ class RenderWidgetHostImpl;
class RenderWidgetHostViewBaseObserver;
class SyntheticGestureTarget;
class TextInputManager;
+class TouchSelectionControllerClientManager;
class WebCursor;
struct NativeWebKeyboardEvent;
struct TextInputState;
@@ -416,6 +417,13 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView,
bool is_fullscreen() { return is_fullscreen_; }
+ // This only returns non-null on platforms that implement touch
+ // selection editing (TSE), currently Aura and (soon) Android.
+ // TODO(wjmaclean): update this comment when OOPIF TSE is implemented on
+ // Android.
+ virtual TouchSelectionControllerClientManager*
+ touch_selection_controller_client_manager();
+
// Exposed for testing.
virtual bool IsChildFrameForTesting() const;
virtual cc::SurfaceId SurfaceIdForTesting() const;

Powered by Google App Engine
This is Rietveld 408576698