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

Unified Diff: components/web_contents_delegate_android/web_contents_delegate_android.cc

Issue 23691036: Add support for datalist to input type color Base URL: https://chromium.googlesource.com/chromium/src.git@color
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
Index: components/web_contents_delegate_android/web_contents_delegate_android.cc
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc
index c908f6a61a9038e0d599c98dd4fbafb83664ed38..b3c630deef8a27ca5e81003328a7382d236d0e51 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc
@@ -51,9 +51,11 @@ WebContentsDelegateAndroid::GetJavaDelegate(JNIEnv* env) const {
// WebContentsDelegate methods
// ----------------------------------------------------------------------------
-ColorChooser* WebContentsDelegateAndroid::OpenColorChooser(WebContents* source,
- SkColor color) {
- return new ColorChooserAndroid(source, color);
+ColorChooser* WebContentsDelegateAndroid::OpenColorChooser(
+ WebContents* source,
+ SkColor color,
+ const std::vector<content::ColorSuggestion>& suggestions) {
+ return new ColorChooserAndroid(source, color, suggestions);
}
// OpenURLFromTab() will be called when we're performing a browser-intiated

Powered by Google App Engine
This is Rietveld 408576698