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

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..3a0b18357915c050ff7d54794b52ee0cdd264136 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -39,6 +39,7 @@ class PageState;
class RenderViewHost;
class WebContents;
class WebContentsImpl;
+struct ColorSuggestion;
struct ContextMenuParams;
struct DropData;
struct FileChooserParams;
@@ -337,8 +338,10 @@ 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<ColorSuggestion>& suggestions);
// Called when a file selection is to be done.
virtual void RunFileChooser(WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698