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

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: Open no longer returns NULL, protected ctor/dtor 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 ac2a4fed76d9ba8c855c9fc2908c3f02965d55bd..cea138a2aca4560c717cf23cf80215ed952ffd1d 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -322,11 +322,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