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

Unified Diff: content/public/browser/web_contents_delegate.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, 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: content/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 23d2336e256ddcdc6ef407bced8c19b8f4f8da1a..197cf38ca878889b217edb18cd09d50e19c46ca1 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -337,8 +337,11 @@ class CONTENT_EXPORT WebContentsDelegate {
// Called when color chooser should open. Returns the opened color chooser.
// Ownership of the returned pointer is transferred to the caller.
- virtual ColorChooser* OpenColorChooser(WebContents* web_contents,
- SkColor color);
+ virtual ColorChooser* OpenColorChooser(
+ WebContents* web_contents,
+ SkColor color,
+ const std::vector<SkColor>& suggestions,
+ const std::vector<string16>& suggestion_labels);
// Called when a file selection is to be done.
virtual void RunFileChooser(WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698