| Index: public/web/WebViewClient.h
|
| diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h
|
| index 3aeab92416ab29172981acaf960648ed72eb7a21..40343f8232682aae9e9fa00728e9dc62899e00fe 100644
|
| --- a/public/web/WebViewClient.h
|
| +++ b/public/web/WebViewClient.h
|
| @@ -51,6 +51,7 @@ namespace WebKit {
|
| class WebAccessibilityObject;
|
| class WebColorChooser;
|
| class WebColorChooserClient;
|
| +class WebColorSuggestion;
|
| class WebCompositorOutputSurface;
|
| class WebDateTimeChooserCompletion;
|
| class WebDeviceOrientationClient;
|
| @@ -198,10 +199,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
|
|
|