From 96bb613e8d0b88d011a9e9ac7ec6cc0bfa8dc015 Mon Sep 17 00:00:00 2001 From: "mlamouri@chromium.org" Date: Mon, 16 Jun 2014 17:22:19 +0000 Subject: Plumbing for browser process to access text surrounding selection. This is using cl 294073005 in order for Blink to give that information to the embedder. The information is passed asynchronously with an IPC message for the request and another for the response. BUG=330238 Review URL: https://codereview.chromium.org/292113008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277474 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/renderer_host/render_widget_host_view_android.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'content/browser/renderer_host/render_widget_host_view_android.h') diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h index 31c344d..267b410 100644 --- a/content/browser/renderer_host/render_widget_host_view_android.h +++ b/content/browser/renderer_host/render_widget_host_view_android.h @@ -160,6 +160,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid OVERRIDE; virtual void LockCompositingSurface() OVERRIDE; virtual void UnlockCompositingSurface() OVERRIDE; + virtual void OnTextSurroundingSelectionResponse(const base::string16& content, + size_t start_offset, + size_t end_offset) OVERRIDE; // cc::DelegatedFrameResourceCollectionClient implementation. virtual void UnusedResourcesAreAvailable() OVERRIDE; -- cgit v1.1