| 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 318f35beb62edabc7445841e8f39fd2c1a3858cf..df5a566eb02c14871ec70364b217051c7ebb76e8 100644
|
| --- a/content/public/browser/web_contents_delegate.h
|
| +++ b/content/public/browser/web_contents_delegate.h
|
| @@ -335,7 +335,9 @@ class CONTENT_EXPORT WebContentsDelegate {
|
| virtual JavaScriptDialogManager* GetJavaScriptDialogManager();
|
|
|
| // Called when color chooser should open. Returns the opened color chooser.
|
| - // Ownership of the returned pointer is transferred to the caller.
|
| + // Returns NULL if we failed to open the color chooser (e.g. when there is a
|
| + // ColorChooserDialog already open on Windows). Ownership of the returned
|
| + // pointer is transferred to the caller.
|
| virtual ColorChooser* OpenColorChooser(
|
| WebContents* web_contents,
|
| SkColor color,
|
|
|