Refactor the OverviewModeObserver interface
This CL mainly focus on moving the onOverviewModeStateChanged() signal out of the OverviewModeObserver interface. That signal only matters when StartSurface is enabled, so the signal is merged to StartSurface.StateObserver.onStateChanged. With the above change, this CL allows features to attach the StartSurface.StateObserver to StartSurface via the ObservableSupplier pattern. In addition, this CL renames OverviewModeState to StartSurfaceState. Change-Id: Iebaa907fca4baf6a1fee819b31fbd57370126dbc Bug: 1108496 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2315823 Commit-Queue: Mei Liang <meiliang@chromium.org> Reviewed-by:Wei-Yin Chen (陳威尹) <wychen@chromium.org> Reviewed-by:
Theresa <twellington@chromium.org> Reviewed-by:
Ganggui Tang <gogerald@chromium.org> Reviewed-by:
Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#814994}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment