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

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

Issue 7685006: Implement input type=color UI (common part) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: forgot to turn off flag Created 9 years, 1 month 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/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 b9e2cfad61be688b874dc6ab188723dbcb9c3e2c..1415cd3867735e4dab81a23985990379c8caa255 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -601,6 +601,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::DidCleanupColorChooser() {
+ Send(new ViewMsg_DidCleanupColorChooser(routing_id()));
+}
+#endif // defined(ENABLE_INPUT_COLOR)
+
void RenderViewHost::FilesSelectedInChooser(
const std::vector<FilePath>& files,
int permissions) {

Powered by Google App Engine
This is Rietveld 408576698