| Index: public/web/WebViewClient.h
|
| diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h
|
| index 740e8205d36c89041edf077ce28497cba2d0c9e8..41cf968d89da50fde416db5207ed977c47e21c65 100644
|
| --- a/public/web/WebViewClient.h
|
| +++ b/public/web/WebViewClient.h
|
| @@ -50,6 +50,7 @@ namespace blink {
|
| class WebAXObject;
|
| class WebColorChooser;
|
| class WebColorChooserClient;
|
| +class WebColorSuggestion;
|
| class WebCompositorOutputSurface;
|
| class WebDateTimeChooserCompletion;
|
| class WebDragData;
|
| @@ -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
|
|
|