| Index: public/web/WebViewClient.h
|
| diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h
|
| index 740e8205d36c89041edf077ce28497cba2d0c9e8..847237d5b920fa8ee704de7319536b8e188b3e61 100644
|
| --- a/public/web/WebViewClient.h
|
| +++ b/public/web/WebViewClient.h
|
| @@ -79,6 +79,7 @@ class WebURLRequest;
|
| class WebUserMediaClient;
|
| class WebView;
|
| class WebWidget;
|
| +struct WebColorSuggestion;
|
| struct WebConsoleMessage;
|
| struct WebContextMenuData;
|
| struct WebDateTimeChooserParams;
|
| @@ -184,10 +185,18 @@ public:
|
| // This method opens the color chooser and returns a new WebColorChooser
|
| // instance. If there is a WebColorChooser already from the last time this
|
| // was called, it ends the color chooser by calling endChooser, and replaces
|
| - // it with the new one.
|
| + // it with the new one. The given list of suggestions can be used to show a
|
| + // simple interface with a limited set of choices.
|
| +
|
| + // FIXME: Should be removed when the chromium side change lands.
|
| virtual WebColorChooser* createColorChooser(WebColorChooserClient*,
|
| const WebColor&) { return 0; }
|
|
|
| + virtual WebColorChooser* createColorChooser(
|
| + WebColorChooserClient*,
|
| + const WebColor&,
|
| + const WebVector<WebColorSuggestion>&) { return 0; }
|
| +
|
| // This method returns immediately after showing the dialog. When the
|
| // dialog is closed, it should call the WebFileChooserCompletion to
|
| // pass the results of the dialog. Returns false if
|
|
|