• Scott Violet's avatar
    weblayer: adds plumbing for BrowserObserver · 1637edbd
    Scott Violet authored
    Here's the set of classes/changes:
    
    weblayer_private.BrowserControllerClient: this is a singleton that is supplied
    when creating BrowserControllerImpl. It will duplicate the C++ BrowserObserver
    interface along with any other server->client calls we want.
    
    BrowserController: supplies an implementation (as an inner class) of
    BrowserControllerClient to BrowserControllerImpl. BrowserController's inner
    class forwards calls to BrowserObservers.
    
    BrowserObserverProxy: there is a C++ and Java class with this name. The two
    are tightly coupled. The C++ side implements BrowserObserver and forwards to the
    java side. The java side forwards to BrowserControllerClient.
    
    BUG=none
    TEST=none
    
    Change-Id: I2817149224f4ac2045769c4ce0c3f81040dc7507
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1772501
    Commit-Queue: Scott Violet <sky@chromium.org>
    Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
    Reviewed-by: default avatarBo <boliu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#691007}
    1637edbd
BUILD.gn 620 Bytes