• Bo Liu's avatar
    weblayer: Implement TabCallback.onTitleUpdated · ebd0451a
    Bo Liu authored
    There are two options to implement a callback for title changes.
    * Implement callback for when the active nav entry changes, and a
      callback for when the title of the nav entry changes
    * A callback for when the title of a tab changes, ignoring details about
      things like navigations.
    
    This CL takes the second option, since it's both simpler to implement
    and simpler to use.
    
    Bug: 1060997
    Change-Id: I5ed1a3e41abcf5f7d7cf3c65cbd94533e8d9c36f
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2115695
    Commit-Queue: Bo <boliu@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#753490}
    ebd0451a
tab_observer.h 905 Bytes