| Index: content/common/frame_messages.h
|
| diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
|
| index 62d319a3ce809beff2aecafe3a45d1e5ceb336ae..118060d8529d34bba51cd4220d5c7555b9ebba48 100644
|
| --- a/content/common/frame_messages.h
|
| +++ b/content/common/frame_messages.h
|
| @@ -51,6 +51,7 @@
|
| #include "ui/gfx/geometry/rect_f.h"
|
| #include "ui/gfx/ipc/gfx_param_traits.h"
|
| #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
|
| +#include "ui/gfx/range/range.h"
|
| #include "url/gurl.h"
|
| #include "url/origin.h"
|
|
|
| @@ -1289,6 +1290,14 @@ IPC_MESSAGE_ROUTED1(FrameHostMsg_VisibilityChanged, bool /* visible */)
|
| // user right clicked.
|
| 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,
|
| + base::string16 /* text covers the selection range */,
|
| + uint32_t /* the offset of the text in the document */,
|
| + gfx::Range /* selection range in the document */)
|
| +
|
| // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was
|
| // requested. The ID is the parameter supplied to
|
| // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the
|
|
|