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

Unified Diff: components/autofill/common/form_field_data.cc

Issue 15769018: [Autofill] Determine Popup RTLness from page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compile Created 7 years, 6 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: components/autofill/common/form_field_data.cc
diff --git a/components/autofill/common/form_field_data.cc b/components/autofill/common/form_field_data.cc
index b6ea38a3d6f17f1e8c11b966d37f5895c73da5f3..5e508d26228bf105a54c3a113371d6e75dd328ae 100644
--- a/components/autofill/common/form_field_data.cc
+++ b/components/autofill/common/form_field_data.cc
@@ -15,6 +15,7 @@ FormFieldData::FormFieldData()
is_checked(false),
is_checkable(false),
is_focusable(false),
+ is_rtl(false),
should_autocomplete(true) {
}
@@ -64,6 +65,8 @@ std::ostream& operator<<(std::ostream& os, const FormFieldData& field) {
<< " "
<< (field.is_focusable ? "true" : "false")
<< " "
+ << (field.is_rtl ? "true" : "false")
+ << " "
<< (field.should_autocomplete ? "true" : "false");
}

Powered by Google App Engine
This is Rietveld 408576698