diff options
author | mlamouri@chromium.org <mlamouri@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-16 17:22:19 +0000 |
---|---|---|
committer | mlamouri@chromium.org <mlamouri@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-16 17:22:19 +0000 |
commit | 96bb613e8d0b88d011a9e9ac7ec6cc0bfa8dc015 (patch) | |
tree | f5b2dd48965fc08125f3ea40fde89495903fc815 /content/browser/renderer_host/render_widget_host_view_android.h | |
parent | c611268fb56a640eb9aefbf13e0c3ae66a6b0e37 (diff) | |
download | chromium_src-96bb613e8d0b88d011a9e9ac7ec6cc0bfa8dc015.zip chromium_src-96bb613e8d0b88d011a9e9ac7ec6cc0bfa8dc015.tar.gz chromium_src-96bb613e8d0b88d011a9e9ac7ec6cc0bfa8dc015.tar.bz2 |
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
Diffstat (limited to 'content/browser/renderer_host/render_widget_host_view_android.h')
-rw-r--r-- | content/browser/renderer_host/render_widget_host_view_android.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |