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

Unified Diff: content/browser/renderer_host/render_view_host.cc

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed flag 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
« no previous file with comments | « content/browser/renderer_host/render_view_host.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host.cc
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index dfc0fb9342341ec93c6e042a37a728aee828ac3c..604de35e9ae91cd63405340c2e56f132a8ec3986 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -616,6 +616,15 @@ void RenderViewHost::SetInitialFocus(bool reverse) {
Send(new ViewMsg_SetInitialFocus(routing_id(), reverse));
}
+#if defined(ENABLE_INPUT_COLOR)
+void RenderViewHost::DidChooseColorInColorChooser(WebKit::WebColor color) {
+ Send(new ViewMsg_DidChooseColorResponse(routing_id(), color));
+}
+void RenderViewHost::DidDetachColorChooser() {
+ Send(new ViewMsg_DidDetachColorChooser(routing_id()));
+}
+#endif // defined(ENABLE_INPUT_COLOR)
+
void RenderViewHost::FilesSelectedInChooser(
const std::vector<FilePath>& files,
int permissions) {
« no previous file with comments | « content/browser/renderer_host/render_view_host.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698