Chromium Code Reviews
Descriptionviews: add layout delegates
This change:
1) Adds the concept of a "layout delegate" for a View, which is responsible for
computing padding amounts and other minutiae of control positioning;
2) Adds a HarmonyLayoutDelegate which returns the Harmony specified values for
some of the existing padding constants;
3) Changes GridLayout and DialogClientView to honor LayoutDelegate;
4) Makes chrome's LoginView use HarmonyLayoutDelegate when --secondary-ui-md.
BUG=602392, 635173
Committed: https://crrev.com/964f7ce4df1d586722cf3819eac9cc814cd98e1d
Cr-Commit-Position: refs/heads/master@{#432611}
Patch Set 1 #
Total comments: 2
Patch Set 2 : move delegate out of views #
Total comments: 16
Patch Set 3 : first round of fixes :) #
Total comments: 4
Patch Set 4 : another round #Patch Set 5 : fix msvc compile #Messages
Total messages: 21 (8 generated)
|