Add StackLayoutBase#setTabLists()
I'm splitting most of StackLayout into a base class in https://chromium-review.googlesource.com/c/chromium/src/+/957875 to support building UI prototypes on top of the tab switcher UI. This CL cleans up the interface for child classes so that they don't have to manually manage the list of Stacks. Instead, they can call a setTabList() method with a list of TabLists, and StackLayoutBase will set up the Stacks accordingly. Bug: 648314 Change-Id: I627da998baaf9d74e3fa14da3cf392097a6e0944 Reviewed-on: https://chromium-review.googlesource.com/961442Reviewed-by:Matthew Jones <mdjones@chromium.org> Commit-Queue: Ryan Landay <rlanday@chromium.org> Cr-Commit-Position: refs/heads/master@{#543438}
Showing
Please register or sign in to comment