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

Unified Diff: components/web_contents_delegate_android/web_contents_delegate_android.cc

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, 4 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 8f599a16b03bcb97f0e50d73b32dc5f7f20474b1..d34be7e8e41c3538a248a4f82239c8ff4f6bbbc7 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,12 @@ 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<SkColor>& suggestions,
+ const std::vector<string16>& suggestion_labels) {
+ return new ColorChooserAndroid(source, color, suggestions, suggestion_labels);
}
// OpenURLFromTab() will be called when we're performing a browser-intiated

Powered by Google App Engine
This is Rietveld 408576698