Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 4ae241a021f2722158f66b83cb2a5913d83d3090..ade74388093c1eccc677cb53960e80e69913c4bb 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -992,6 +992,12 @@ IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK) |
IPC_MESSAGE_ROUTED1(ViewMsg_SetAltErrorPageURL, |
GURL) |
+// Notifies the color chooser client that the user selected a color. |
+IPC_MESSAGE_ROUTED2(ViewMsg_DidChooseColorResponse, unsigned, SkColor) |
+ |
+// Notifies the color chooser client that the color chooser has ended. |
+IPC_MESSAGE_ROUTED1(ViewMsg_DidEndColorChooser, unsigned) |
+ |
IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse, |
std::vector<FilePath> /* selected files */) |
@@ -1671,6 +1677,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, |
+ int /* id */, |
+ SkColor /* color */) |
+ |
+// Asks the browser to end the color chooser. |
+IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) |
+ |
+// Change the selected color in the color chooser. |
+IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSelectedColorInColorChooser, |
+ int /* 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, |