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

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

Issue 13150004: Support color chooser inside extesions, apps, chrome frame, dev tool (Closed) Base URL: http://git.chromium.org/chromium/src.git@ngcolor
Patch Set: Removed chrome/browser/ui/color_chooser.cc Created 7 years, 8 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 7371bda8077e25e20e74a7d286b4ae41380148e0..3b2f2a2c278bede0ddf28328a558b2fcb22dc6aa 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -321,11 +321,8 @@ 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 content::ColorChooser* OpenColorChooser(WebContents* web_contents,
- int color_chooser_id,
- SkColor color);
-
- virtual void DidEndColorChooser() {}
+ virtual ColorChooser* OpenColorChooser(WebContents* web_contents,
+ SkColor color);
// Called when a file selection is to be done.
virtual void RunFileChooser(WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698