-
eugenebng authored
Make styled-label trimming less aggressive - now when wrapped on \n, only this \n is removed, not all whitespace sequence. This allows whitespace "formatting" like line indentation with spaces. Also makes double newline behave like expected - insert an empty line between text before and after \n\n. Syled label layout loop refactored to de-duplicate code. Added tests coverage for styled label. Fixed LegalMessageLine comment - no longer have to explain that it is based on styled_label with some caveats. R=sky@chromium.org BUG= Review-Url: https://codereview.chromium.org/2348433002 Cr-Commit-Position: refs/heads/master@{#438795}
933ca231