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

Unified Diff: content/renderer/renderer_webcolorchooser_impl.h

Issue 23593006: Add support for datalist to input type color Base URL: https://chromium.googlesource.com/chromium/src.git@colorstretch
Patch Set: Created 7 years, 3 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/renderer/render_view_impl.cc ('k') | content/renderer/renderer_webcolorchooser_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_webcolorchooser_impl.h
diff --git a/content/renderer/renderer_webcolorchooser_impl.h b/content/renderer/renderer_webcolorchooser_impl.h
index bd8f235528a0be4c596f00b066a945066f983921..74c9bdc90aac401b367574edc9ffdfaf719cb040 100644
--- a/content/renderer/renderer_webcolorchooser_impl.h
+++ b/content/renderer/renderer_webcolorchooser_impl.h
@@ -5,7 +5,9 @@
#ifndef CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_
#define CONTENT_RENDERER_RENDERER_WEBCOLORCHOOSER_IMPL_H_
+#include <vector>
#include "base/compiler_specific.h"
+#include "content/public/common/color_suggestion.h"
#include "content/public/renderer/render_view_observer.h"
#include "third_party/WebKit/public/web/WebColorChooser.h"
#include "third_party/WebKit/public/web/WebColorChooserClient.h"
@@ -28,7 +30,8 @@ class RendererWebColorChooserImpl : public WebKit::WebColorChooser,
virtual void setSelectedColor(const WebKit::WebColor);
virtual void endChooser();
- void Open(SkColor initial_color);
+ void Open(SkColor initial_color,
+ const std::vector<content::ColorSuggestion>& suggestions);
WebKit::WebColorChooserClient* client() { return client_; }
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/renderer/renderer_webcolorchooser_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698