• Colin Blundell's avatar
    [Infobars] Prepare Android's C++ ConfirmInfobar for componentization · b6c64fce
    Colin Blundell authored
    In preparation for componentization of this class for sharing with
    WebLayer, this CL cleans it of //chrome dependencies. We do so by
    introducing a simple ChromeConfirmInfoBar convenience subclass that
    glues ConfirmInfobar to //chrome, which will then enable ConfirmInfobar
    itself to be componentized and reused by WebLayer. Note that any
    //chrome-level subclasses of ChromeConfirmInfoBar could still easily
    be componentized if desired in the future by simply changing them to
    subclass from ConfirmInfoBar directly and take in the needed additional
    parameters in *their* constructors for supplying by the embedder.
    
    Bug: 1099169
    Change-Id: I20b57b37eec57ed9932c6a3610f64e3860ac2900
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2272323
    Commit-Queue: Colin Blundell <blundell@chromium.org>
    Reviewed-by: default avatarMatthew Jones <mdjones@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#783855}
    b6c64fce
confirm_infobar.cc 3.01 KB