Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: components/autofill/core/browser/legal_message_line.h

Issue 2348433002: Make styled-label trimming less agressive, allowing whitespace (Closed)
Patch Set: Refactoring: de-duplicated wrap to new line code in styled label credits to estade for code suggest… Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/controls/styled_label.cc » ('j') | ui/views/controls/styled_label.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/legal_message_line.h
diff --git a/components/autofill/core/browser/legal_message_line.h b/components/autofill/core/browser/legal_message_line.h
index 681173c9d5847e50ada00e3113f6276eb419a980..50955f9569cc55a51a3e2efed88b273429a0bbb5 100644
--- a/components/autofill/core/browser/legal_message_line.h
+++ b/components/autofill/core/browser/legal_message_line.h
@@ -63,9 +63,7 @@ class LegalMessageLine {
// expand correctly.
// 3. "${" anywhere in the template string is invalid.
// 4. "\n" embedded anywhere in the template string, or an empty template
- // string, can be used to separate paragraphs. It is not possible to create
- // a completely blank line by using two consecutive newlines (they will be
- // treated as a single newline by views::StyledLabel).
+ // string, can be used to separate paragraphs.
static bool Parse(const base::DictionaryValue& legal_message,
LegalMessageLines* out);
« no previous file with comments | « no previous file | ui/views/controls/styled_label.cc » ('j') | ui/views/controls/styled_label.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698