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

Unified Diff: content/common/view_messages.h

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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index c12bef8fe3b889ec08144588f68a3f3f04e59ab9..9d2dcb5e74d7094f475e90fa8e165d6450bc5023 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -987,6 +987,12 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceIdNamespace,
IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret)
+// Sent by the browser to ask the renderer to adjust the selection
+// by the given amounts.
+IPC_MESSAGE_ROUTED2(ViewMsg_MoveSelectionByCharacterOffset,
+ int /* start_adjust*/,
+ int /* end_adjust */)
+
// Sent by the browser to ask the renderer to redraw.
// If |request_id| is not zero, it is added to the forced frame's latency info
// as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT.

Powered by Google App Engine
This is Rietveld 408576698