[Profile picker] Use a custom widget that defines a theme provider
This CL changes ProfilePickerView to use it's custom widget class instead of the default one provided by DialogDelegate. This allows to define a theme provider for the widget, based on a profile that (sometimes) gets created throughout profile creation flow. This is a preparatory CL for later CLs (such as CL 2569752) that will add native views into the hierarchy that actually rely on the theme provider. Bug: 1126913 Change-Id: Ifed3f645a4c60035ced4b7562ab21f5d4d5b840a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2608206Reviewed-by:Robert Liao <robliao@chromium.org> Commit-Queue: Jan Krcal <jkrcal@chromium.org> Auto-Submit: Jan Krcal <jkrcal@chromium.org> Cr-Commit-Position: refs/heads/master@{#841396}
Showing
Please register or sign in to comment