Chromium Code Reviews
DescriptionTabbedPane: refactor away manual layout and selected_tab_index_
This change:
1) Makes TabStrip use a LayoutManager and removes TabStrip::Layout;
2) Makes TabStrip use an EmptyBorder for insets and removes most of
TabStrip::GetPreferredSize;
3) Replaces TabStrip and MdTabStrip's OnPaint overrides with
OnPaintBorder overrides to paint their custom borders;
4) Removes the concept of a selected tab index from TabbedPane,
replacing it with directly querying the TabStrip;
5) Renames TabbedPane::selected_tab_index() to
TabbedPane::GetSelectedTabIndex() and changes all uses of it.
BUG=635176
Committed: https://crrev.com/2941cbd2032c2cc48b610f7b529a1060bbe4f089
Cr-Commit-Position: refs/heads/master@{#424996}
Patch Set 1 #
Total comments: 10
Patch Set 2 : nits for msw #
Messages
Total messages: 20 (9 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||