Chromium Code Reviews| Index: content/common/view_messages.h |
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
| index b3f755fddf32330464ce04a9921564bec49f9dee..ede77f2c24715664a15628a0841eedeac092e733 100644 |
| --- a/content/common/view_messages.h |
| +++ b/content/common/view_messages.h |
| @@ -897,6 +897,10 @@ IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, |
| gfx::Size /* size */, |
| std::vector<unsigned char> /* png */) |
| +// Extracts the data at the given rect, returning it through the |
| +// ViewHostMsg_SmartClipDataExtracted IPC. |
| +IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) |
| + |
| #if defined(OS_MACOSX) |
| IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay); |
| @@ -907,6 +911,8 @@ IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme, |
| bool /* jump_on_track_click */, |
| blink::ScrollerStyle /* preferred_scroller_style */, |
| bool /* redraw */) |
| +// For now using a different IPC_Message for extracting smart clip on mac. |
| +IPC_MESSAGE_ROUTED1(ViewMsg_GetSmartClipDataFromRect, gfx::Rect /* rect */) |
|
Alexei Svitkine (slow)
2014/06/25 13:58:29
Is this part of the change needed?
|
| #endif |
| #if defined(OS_ANDROID) |
| @@ -949,11 +955,6 @@ IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
| // processed on the browser side. |
| IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) |
| -// Extracts the data at the given rect, returning it through the |
| -// ViewHostMsg_SmartClipDataExtracted IPC. |
| -IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, |
| - gfx::Rect /* rect */) |
| - |
| #elif defined(OS_MACOSX) |
| // Let the RenderView know its window has changed visibility. |
| IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, |
| @@ -1684,6 +1685,7 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, |
| // Instructs the browser to start plugin IME. |
| IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) |
| +IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); |
| #elif defined(OS_WIN) |
| // Request that the given font characters be loaded by the browser so it's |