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

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
« no previous file with comments | « components/autofill/common/form_field_data.h ('k') | components/autofill/common/forms_seen_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9040137b4e09b3ca1708deba19aaa3dddb66d105..6e01c32b530893c88a674409842018a94d1442bb 100644
--- a/components/autofill/common/form_field_data.cc
+++ b/components/autofill/common/form_field_data.cc
@@ -15,7 +15,8 @@ FormFieldData::FormFieldData()
is_checked(false),
is_checkable(false),
is_focusable(false),
- should_autocomplete(true) {
+ should_autocomplete(true),
+ text_direction(base::i18n::UNKNOWN_DIRECTION) {
}
FormFieldData::~FormFieldData() {
@@ -64,7 +65,9 @@ std::ostream& operator<<(std::ostream& os, const FormFieldData& field) {
<< " "
<< (field.is_focusable ? "true" : "false")
<< " "
- << (field.should_autocomplete ? "true" : "false");
+ << (field.should_autocomplete ? "true" : "false")
+ << " "
+ << field.text_direction;
}
} // namespace autofill
« no previous file with comments | « components/autofill/common/form_field_data.h ('k') | components/autofill/common/forms_seen_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698