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

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 issues/removed color_select_helper/added color_chooser_id Created 8 years, 10 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/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 9ae93a4788c600908b1ac035b0867b55dd1946fe..3dcb082cda76caf6e1843d266813c4a650550589 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -643,6 +643,17 @@ void RenderViewHost::SetInitialFocus(bool reverse) {
Send(new ViewMsg_SetInitialFocus(routing_id(), reverse));
}
+void RenderViewHost::DidChooseColorInColorChooser(unsigned color_chooser_id,
+ const SkColor& color) {
+ Send(new ViewMsg_DidChooseColorResponse(routing_id(), color_chooser_id,
+ color));
+}
+
+void RenderViewHost::DidEndColorChooser(unsigned color_chooser_id) {
+ Send(new ViewMsg_DidEndColorChooser(routing_id(), color_chooser_id));
+ delegate_->DidEndColorChooser();
+}
+
void RenderViewHost::FilesSelectedInChooser(
const std::vector<FilePath>& files,
int permissions) {

Powered by Google App Engine
This is Rietveld 408576698