Clean up TabbedPane.
Tab and TabStrip are only ever instantiated as MdTab and MdTabStrip. Combine the code for the subclasses with the parents, eliminating unreachable code. Inline various constants that are only used once and whose names added no real clarity. Rewrite a few places for brevity. Reorder definitions to match declarations. Bug: 934273 Change-Id: I7853a96d0929e8eeedc60f421b8426e171befec7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1809632 Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#697619}
Showing
This diff is collapsed.
Please register or sign in to comment