refactor: move color_chooser out of chromium_src (#15091)
* chore: move color_chooser out of chromium_src * fix: remove deleted source files * fix: add build flag, patch and build instructions for ColorChooser
This commit is contained in:
parent
95696c9456
commit
5ef5d60f77
13 changed files with 127 additions and 423 deletions
|
@ -277,7 +277,11 @@ content::ColorChooser* CommonWebContentsDelegate::OpenColorChooser(
|
|||
content::WebContents* web_contents,
|
||||
SkColor color,
|
||||
const std::vector<blink::mojom::ColorSuggestionPtr>& suggestions) {
|
||||
#if BUILDFLAG(ENABLE_COLOR_CHOOSER)
|
||||
return chrome::ShowColorChooser(web_contents, color);
|
||||
#else
|
||||
return nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
void CommonWebContentsDelegate::RunFileChooser(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue