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

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

Issue 292113008: Plumbing for browser process to access text surrounding selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@adb_install_humans
Patch Set: rebase - use int Created 6 years, 6 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_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 17fe82141d74f323958902aed2461c676f8b0431..69248d84d293263d9063b7763315c2f378218a36 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -438,6 +438,10 @@ class CONTENT_EXPORT RenderViewHostImpl
// Whether the RVH is waiting for the unload ack from the renderer.
bool IsWaitingForUnloadACK() const;
+ void OnTextSurroundingSelectionResponse(const base::string16& content,
+ int start_offset,
+ int end_offset);
+
// Update the FrameTree to use this RenderViewHost's main frame
// RenderFrameHost. Called when the RenderViewHost is committed.
//

Powered by Google App Engine
This is Rietveld 408576698