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: Responding to comments 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..33327dabfa495e080e48760b7e13f81c92f1a27c 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

Powered by Google App Engine
This is Rietveld 408576698