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

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, 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
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 6b233dcc1583ab0e5758bb373a335f0357a643a6..1474e601091c84d8d30a9a7e482848a40dafce7e 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc
@@ -50,9 +50,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