Index: components/autofill/content/common/autofill_types.mojom |
diff --git a/components/autofill/content/common/autofill_types.mojom b/components/autofill/content/common/autofill_types.mojom |
index 3795d253e7b507f47cccb71810fd3baa57cbbe63..99303bd9be23a5704416c84bd8bd63c79057bdad 100644 |
--- a/components/autofill/content/common/autofill_types.mojom |
+++ b/components/autofill/content/common/autofill_types.mojom |
@@ -4,6 +4,7 @@ |
module autofill.mojom; |
+import "mojo/common/text_direction.mojom"; |
import "mojo/common/time.mojom"; |
import "url/mojo/origin.mojom"; |
import "url/mojo/url.mojom"; |
@@ -21,14 +22,6 @@ enum RoleAttribute { |
ROLE_ATTRIBUTE_OTHER |
}; |
-// base::i18n::TextDirection |
-enum TextDirection { |
- UNKNOWN_DIRECTION = 0, |
- RIGHT_TO_LEFT = 1, |
- LEFT_TO_RIGHT = 2, |
- TEXT_DIRECTION_NUM_DIRECTIONS = 3 |
-}; |
- |
// autofill::PasswordForm::GenerationUploadStatus |
enum GenerationUploadStatus { |
NO_SIGNAL_SENT, |
@@ -84,7 +77,7 @@ struct FormFieldData { |
bool is_focusable; |
bool should_autocomplete; |
RoleAttribute role; |
- TextDirection text_direction; |
+ mojo.common.mojom.TextDirection text_direction; |
array<string> option_values; |
array<string> option_contents; |