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

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

Issue 1205033005: Adds selection expansion support for Contextual Search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index e0eb5dc42c629c922eee850a98fe2945752f9611..f9d16c216a9c5931f9d9884a16e3114e5c528c8e 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -1434,4 +1434,10 @@ void RenderViewHostImpl::SelectWordAroundCaret() {
Send(new ViewMsg_SelectWordAroundCaret(GetRoutingID()));
}
+void RenderViewHostImpl::MoveSelectionByCharacterOffset(int startAdjust,
+ int endAdjust) {
+ Send(new ViewMsg_MoveSelectionByCharacterOffset(GetRoutingID(), startAdjust,
+ endAdjust));
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698