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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

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/browser/web_contents/web_contents_impl.h ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 7d999ec0c09d06191eaf7a5df81f225e8253fdfa..8c717afbc17cf87ac6401c28935ae80acd95499e 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2459,9 +2459,12 @@ void WebContentsImpl::OnAppCacheAccessed(const GURL& manifest_url,
AppCacheAccessed(manifest_url, blocked_by_policy));
}
-void WebContentsImpl::OnOpenColorChooser(int color_chooser_id,
- SkColor color) {
- ColorChooser* new_color_chooser = delegate_->OpenColorChooser(this, color);
+void WebContentsImpl::OnOpenColorChooser(
+ int color_chooser_id,
+ SkColor color,
+ const std::vector<ColorSuggestion>& suggestions) {
+ ColorChooser* new_color_chooser =
+ delegate_->OpenColorChooser(this, color, suggestions);
if (color_chooser_ == new_color_chooser)
return;
color_chooser_.reset(new_color_chooser);
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698