Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(819)

Unified Diff: content/common/view_messages.h

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed comment Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 95095efc440c7c811102c4fbfdeac913f5d39621..782975ba255a47d4cd8de5c33637da452ad1c01b 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1008,11 +1008,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_ROUTED1(ViewMsg_DidChooseColorResponse, WebKit::WebColor)
+IPC_MESSAGE_ROUTED0(ViewMsg_DidEndColorChooser)
+
IPC_MESSAGE_ROUTED1(ViewMsg_RunFileChooserResponse,
std::vector<FilePath> /* selected files */)
@@ -1727,6 +1730,16 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_SelectionBoundsChanged,
gfx::Rect /* start rect */,
gfx::Rect /* end rect */)
+// Asks the browser to open the color chooser.
+IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenColorChooser, WebKit::WebColor)
+
+// Asks the browser to end the color chooser.
+IPC_MESSAGE_ROUTED0(ViewHostMsg_EndColorChooser)
+
+// Change the selected color in the color chooser.
+IPC_MESSAGE_ROUTED1(ViewHostMsg_SetSelectedColorInColorChooser,
+ WebKit::WebColor)
+
// Asks the browser to display the file chooser. The result is returned in a
// ViewHost_RunFileChooserResponse message.
IPC_MESSAGE_ROUTED1(ViewHostMsg_RunFileChooser,

Powered by Google App Engine
This is Rietveld 408576698