• Joel Hockey's avatar
    Support ShowCrostiniUpdateComponentView in Terminal System App · 57d16703
    Joel Hockey authored
    Terminal must have dedicated logic to invoke
    ShowCrostiniUpdateComponentView.
    
    Most crostini apps start crostini first and show a
    spinner whilst this is happening before launching the app.
    The crostini startup logic for this case detects
    when to show the update component view.
    
    Terminal System App launches immediately so that it can
    show the status of crostini starting, so it requires
    extra logic.
    
    TerminalSource dummy files have been extended to include
    terminal.html and terminal.js which invokes
    chrome.terminalPrivate.openTerminalProcess to
    test this logic.
    
    Change-Id: I68ec7b769e038947d107024e36312e9c0689f862
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2079719
    Commit-Queue: Joel Hockey <joelhockey@chromium.org>
    Reviewed-by: default avatarNicholas Verne <nverne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#745359}
    57d16703
terminal_source.cc 4.93 KB