| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index 576a2aede98b957a8b263d8846d1ed65e97f3907..582fcc4e1f1de262e8f2ab655c686f7e0d4ce560 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -1003,11 +1003,23 @@ IPC_MESSAGE_ROUTED2(ViewMsg_ImeConfirmComposition,
|
| // to prevent target URLs spamming the browser.
|
| IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK)
|
|
|
| +#if defined(ENABLE_INPUT_COLOR)
|
| +IPC_STRUCT_BEGIN(ViewHostMsg_SetSelectedColorInColorChooser_Params)
|
| + // The new color to set as the selected color in the color chooser.
|
| + IPC_STRUCT_MEMBER(WebKit::WebColor, color)
|
| +IPC_STRUCT_END()
|
| +#endif // defined(ENABLE_INPUT_COLOR)
|
|
|
| // Sets the alternate error page URL (link doctor) for the renderer process.
|
| IPC_MESSAGE_ROUTED1(ViewMsg_SetAltErrorPageURL,
|
| GURL)
|
|
|
| +#if defined(ENABLE_INPUT_COLOR)
|
| +// Notifies the color that the user selected in the color chooser.
|
| +IPC_MESSAGE_ROUTED1(ViewMsg_DidChooseColorResponse, WebKit::WebColor)
|
| +IPC_MESSAGE_ROUTED0(ViewMsg_DidDetachColorChooser)
|
| +#endif // defined(ENABLE_INPUT_COLOR)
|
| +
|
| IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse,
|
| std::vector<FilePath> /* selected files */)
|
|
|
| @@ -1710,6 +1722,19 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionBoundsChanged,
|
| gfx::Rect /* start rect */,
|
| gfx::Rect /* end rect */)
|
|
|
| +#if defined(ENABLE_INPUT_COLOR)
|
| +// Asks the browser to open the color chooser.
|
| +IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenColorChooser,
|
| + ViewHostMsg_SetSelectedColorInColorChooser_Params)
|
| +
|
| +// Asks the browser to detach the color chooser.
|
| +IPC_MESSAGE_ROUTED0(ViewHostMsg_DetachColorChooser)
|
| +
|
| +// Change the selected color in the color chooser.
|
| +IPC_MESSAGE_ROUTED1(ViewHostMsg_SetSelectedColorInColorChooser,
|
| + ViewHostMsg_SetSelectedColorInColorChooser_Params)
|
| +#endif // defined(ENABLE_INPUT_COLOR)
|
| +
|
| // Asks the browser to display the file chooser. The result is returned in a
|
| // ViewHost_RunFileChooserResponse message.
|
| IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser,
|
|
|