| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index cac159bf6477b54ab5076f4bdd7f5a33b825541c..a67558bb69d3be628a9365fcb2246a36d8f91b1e 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -1011,11 +1011,14 @@ IPC_MESSAGE_ROUTED2(ViewMsg_ImeConfirmComposition,
|
| // to prevent target URLs spamming the browser.
|
| IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK)
|
|
|
| -
|
| // Sets the alternate error page URL (link doctor) for the renderer process.
|
| IPC_MESSAGE_ROUTED1(ViewMsg_SetAltErrorPageURL,
|
| GURL)
|
|
|
| +// Notifies the color that the user selected in the color chooser.
|
| +IPC_MESSAGE_ROUTED2(ViewMsg_DidChooseColorResponse, unsigned, SkColor)
|
| +IPC_MESSAGE_ROUTED1(ViewMsg_DidEndColorChooser, unsigned)
|
| +
|
| IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse,
|
| std::vector<FilePath> /* selected files */)
|
|
|
| @@ -1730,6 +1733,19 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionBoundsChanged,
|
| gfx::Rect /* start rect */,
|
| gfx::Rect /* end rect */)
|
|
|
| +// Asks the browser to open the color chooser.
|
| +IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenColorChooser,
|
| + unsigned /* id */,
|
| + SkColor /* color */)
|
| +
|
| +// Asks the browser to end the color chooser.
|
| +IPC_MESSAGE_ROUTED0(ViewHostMsg_EndColorChooser, unsigned /* id */)
|
| +
|
| +// Change the selected color in the color chooser.
|
| +IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSelectedColorInColorChooser,
|
| + unsigned, /* id */
|
| + SkColor /* color */)
|
| +
|
| // Asks the browser to display the file chooser. The result is returned in a
|
| // ViewHost_RunFileChooserResponse message.
|
| IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser,
|
|
|