Introduce ChooserResourceLoader in Blink's core/html/forms
This CL introduces ChooserResourceLoader class to replace Platform::Current()->GetDataResource(name) with UncompressResourceAsString. ChooserResourceLoader class supports static functions which return a string of the given style sheet or javascript. But, Android doesn't support IDR_FOO used by the choosers in blink_resource.grd. So, this CL just returns String() because Android port doesn't use the resources. Bug: 983396 Change-Id: I2a836cc3868e2bccfd4da1449aee217396073438 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1714624Reviewed-by:Kent Tamura <tkent@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com> Cr-Commit-Position: refs/heads/master@{#684281}
Showing
Please register or sign in to comment