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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_types.cc

Issue 21724002: rAc: try really hard not to ellipsize addresses (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android Created 7 years, 4 months 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
Index: chrome/browser/ui/autofill/autofill_dialog_types.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_types.cc b/chrome/browser/ui/autofill/autofill_dialog_types.cc
index a10aa4321e2ca271212c7532d1a855ccc2abd071..2ef25295d270128d73d8899c069b3495eff5d429 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_types.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_types.cc
@@ -229,13 +229,17 @@ string16 DialogAutocheckoutStep::GetDisplayText() const {
SkColor const kWarningColor = SkColorSetRGB(0xde, 0x49, 0x32);
-SuggestionState::SuggestionState(const string16& text,
- gfx::Font::FontStyle text_style,
+SuggestionState::SuggestionState()
+ : show(false) {}
+SuggestionState::SuggestionState(bool show_,
+ const string16& vertically_compact_text,
+ const string16& horizontally_compact_text,
const gfx::Image& icon,
const string16& extra_text,
const gfx::Image& extra_icon)
- : text(text),
- text_style(text_style),
+ : show(show_),
+ vertically_compact_text(vertically_compact_text),
+ horizontally_compact_text(horizontally_compact_text),
icon(icon),
extra_text(extra_text),
extra_icon(extra_icon) {}

Powered by Google App Engine
This is Rietveld 408576698