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

Unified Diff: content/common/frame_messages.h

Issue 2856093003: Update TextSelection for non-user initiated events (Closed)
Patch Set: Created 3 years, 8 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/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 5e159ff90f12c86e951d288c72a587eb67e3f788..d7f219ab2497c19f9049e5c4f56a88ac4fa1fc63 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -1443,10 +1443,11 @@ IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
// Notification that the text selection has changed.
// Note: The second parameter is the character based offset of the
// base::string16 text in the document.
-IPC_MESSAGE_ROUTED3(FrameHostMsg_SelectionChanged,
+IPC_MESSAGE_ROUTED4(FrameHostMsg_SelectionChanged,
base::string16 /* text covers the selection range */,
uint32_t /* the offset of the text in the document */,
- gfx::Range /* selection range in the document */)
+ gfx::Range /* selection range in the document */,
+ bool /* selection is triggered by user input */)
// Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was
// requested. The ID is the parameter supplied to

Powered by Google App Engine
This is Rietveld 408576698