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

Unified Diff: content/public/browser/web_contents_delegate.h

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
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 69ac871c85e1a8ac3046465f3373511816c872ca..ce7c4e33cd50aa1a184ea9258ab56be1244cc9d4 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -40,6 +40,7 @@ class RenderViewHost;
class SessionStorageNamespace;
class WebContents;
class WebContentsImpl;
+struct ColorSuggestion;
struct ContextMenuParams;
struct DropData;
struct FileChooserParams;
@@ -335,8 +336,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,
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/web_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698