-
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:
John Abd-El-Malek <jam@chromium.org> Reviewed-by:
Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#691007}
1637edbd