• Bret Sepulveda's avatar
    Reland "Add new class ColorTrackingIconView to deduplicate subclasses." · 1dcacd3f
    Bret Sepulveda authored
    This is a reland of 85ae69b0. Fixes
    namespace conflict with branded builds. Verified by local compile.
    
    Original change's description:
    > Add new class ColorTrackingIconView to deduplicate subclasses.
    >
    > Upon investigating the associated bug, I noticed that there are a few
    > subclasses of ImageView that exist solely to override OnThemeChanged.
    > Since I also needed a subclass like this to fix the bug, I decided to
    > make a utility class to eliminate this ad-hoc subclassing, in the style
    > of ColorTrackingVectorImageButton (in image_button_factory.cc).
    >
    > Bug: 1125510
    > Change-Id: I975a9b6a4676bb6b2a454172f211f406934d7869
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2397737
    > Commit-Queue: Bret Sepulveda <bsep@chromium.org>
    > Reviewed-by: Trent Apted <tapted@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#804901}
    
    Bug: 1125510
    Change-Id: Icbe7240ab8159f1c61f510f03dab7e5d6c5d563b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401018
    Commit-Queue: Bret Sepulveda <bsep@chromium.org>
    Auto-Submit: Bret Sepulveda <bsep@chromium.org>
    Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#805751}
    1dcacd3f
BUILD.gn 45 KB