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

Unified Diff: content/renderer/renderer_webcolorchooser_impl.h

Issue 23026006: Add support for color input datalist on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« 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 4d6540b4422b34e5ccdd9d158540211d07c8a6e4..d75347887380b81a2a6e283e91bb75394178336b 100644
--- a/content/renderer/renderer_webcolorchooser_impl.h
+++ b/content/renderer/renderer_webcolorchooser_impl.h
@@ -5,7 +5,10 @@
#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 +31,8 @@ class RendererWebColorChooserImpl : public blink::WebColorChooser,
virtual void setSelectedColor(const blink::WebColor);
virtual void endChooser();
- void Open(SkColor initial_color);
+ void Open(SkColor initial_color,
+ const std::vector<content::ColorSuggestion>& suggestions);
blink::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