Chromium Code Reviews| 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 d19ee91ff2b1e7319ca04c9daef686845669f4a0..576f4060864b139de99023dccb78593ea70f8a5e 100644 |
| --- a/content/public/browser/web_contents_delegate.h |
| +++ b/content/public/browser/web_contents_delegate.h |
| @@ -52,6 +52,10 @@ namespace webkit_glue { |
| struct WebIntentData; |
| } |
| +namespace WebKit { |
| +typedef unsigned WebColor; |
| +} |
| + |
| namespace content { |
| struct OpenURLParams; |
| @@ -317,6 +321,12 @@ class CONTENT_EXPORT WebContentsDelegate { |
| // and displays nothing. |
| virtual JavaScriptDialogCreator* GetJavaScriptDialogCreator(); |
| + virtual void OpenColorChooser(WebContents* tab, |
|
jam
2012/01/27 18:13:40
ditto
keishi
2012/02/06 15:01:57
Done.
|
| + const WebKit::WebColor& color) {} |
| + virtual void EndColorChooser(WebContents* tab) {} |
| + virtual void SetSelectedColorInColorChooser(WebContents* tab, |
| + const WebKit::WebColor& color) {} |
| + |
| // Called when a file selection is to be done. |
| virtual void RunFileChooser(WebContents* tab, |
| const FileChooserParams& params) {} |