| Index: content/browser/android/content_view_core_impl.h
|
| diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
|
| index 59cd6c728632159157ff414f9fe77606a5f0acb8..c184eec9a9fb90fc98b09138d37481db8d23abb2 100644
|
| --- a/content/browser/android/content_view_core_impl.h
|
| +++ b/content/browser/android/content_view_core_impl.h
|
| @@ -118,6 +118,7 @@ class ContentViewCoreImpl : public ContentViewCore,
|
| jint android_tool_type_0,
|
| jint android_tool_type_1,
|
| jint android_button_state);
|
| + jboolean OnTouchHandleEvent(JNIEnv* env, jobject obj, jobject motion_event);
|
| jboolean SendMouseMoveEvent(JNIEnv* env,
|
| jobject obj,
|
| jlong time_ms,
|
| @@ -151,6 +152,7 @@ class ContentViewCoreImpl : public ContentViewCore,
|
| jfloat x1, jfloat y1,
|
| jfloat x2, jfloat y2);
|
| void MoveCaret(JNIEnv* env, jobject obj, jfloat x, jfloat y);
|
| + void HideTextHandles(JNIEnv* env, jobject obj);
|
|
|
| void ResetGestureDetection(JNIEnv* env, jobject obj);
|
| void SetDoubleTapSupportEnabled(JNIEnv* env, jobject obj, jboolean enabled);
|
| @@ -289,12 +291,9 @@ class ContentViewCoreImpl : public ContentViewCore,
|
| InputEventAckState ack_result);
|
| bool FilterInputEvent(const blink::WebInputEvent& event);
|
| void OnSelectionChanged(const std::string& text);
|
| - void OnSelectionBoundsChanged(const gfx::PointF& anchor,
|
| - const gfx::PointF& focus,
|
| - int anchor_dir,
|
| - int focus_dir,
|
| - bool is_anchor_visible,
|
| - bool is_focus_visible);
|
| + void OnSelectionEvent(SelectionEventType event,
|
| + const gfx::PointF& anchor_position);
|
| + scoped_ptr<TouchHandleDrawable> CreatePopupTouchHandleDrawable();
|
|
|
| void StartContentIntent(const GURL& content_url);
|
|
|
| @@ -324,8 +323,6 @@ class ContentViewCoreImpl : public ContentViewCore,
|
|
|
| void SetAccessibilityEnabledInternal(bool enabled);
|
|
|
| - void ShowSelectionHandlesAutomatically() const;
|
| -
|
| // --------------------------------------------------------------------------
|
| // Methods called from native code
|
| // --------------------------------------------------------------------------
|
| @@ -338,6 +335,9 @@ class ContentViewCoreImpl : public ContentViewCore,
|
| void AttachLayer(scoped_refptr<cc::Layer> layer);
|
| void RemoveLayer(scoped_refptr<cc::Layer> layer);
|
|
|
| + void SelectBetweenCoordinates(const gfx::PointF& start,
|
| + const gfx::PointF& end);
|
| +
|
| private:
|
| class ContentViewUserData;
|
|
|
|
|