[ToolbarMVC] Add LocationBarDataObserver
This CL adds an observer interface to LocationBarDataProvider, allowing consumers to listen for changes. It also implements observer registration and notification in LocationBarModel. Initially, only title change notifications are supported, with the intention to add more fields, e.g. url, in future changes. The corresponding LocationBar "poke" method, setTitleToPageTitle, is removed. Bug: 1139481 Change-Id: I1240c8152c818a32761a18c846e6d11cf6efa4ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505800 Commit-Queue: Patrick Noland <pnoland@chromium.org> Reviewed-by:Ted Choc <tedchoc@chromium.org> Reviewed-by:
Brandon Wylie <wylieb@chromium.org> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Reviewed-by:
Peter Conn <peconn@chromium.org> Cr-Commit-Position: refs/heads/master@{#822842}
Showing
Please register or sign in to comment