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

Unified Diff: components/autofill/content/common/autofill_driver.mojom

Issue 2626093004: EnumTraits for base::i18n::TextDirection. (Closed)
Patch Set: Addressed feedback. Created 3 years, 11 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 | « base/i18n/rtl.h ('k') | components/autofill/content/common/autofill_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/common/autofill_driver.mojom
diff --git a/components/autofill/content/common/autofill_driver.mojom b/components/autofill/content/common/autofill_driver.mojom
index b0da5fd145c88bf470ad5ae8341dd8e5d6980bef..1c951dbb5df4efc3a3d5faec67a5418e267bff88 100644
--- a/components/autofill/content/common/autofill_driver.mojom
+++ b/components/autofill/content/common/autofill_driver.mojom
@@ -6,6 +6,7 @@ module autofill.mojom;
import "components/autofill/content/common/autofill_types.mojom";
import "mojo/common/string16.mojom";
+import "mojo/common/text_direction.mojom";
import "mojo/common/time.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
@@ -91,7 +92,8 @@ interface PasswordManagerDriver {
// Instructs the browser to show a popup with suggestions filled from data
// associated with |key|. The popup will use |text_direction| for displaying
// text.
- ShowPasswordSuggestions(int32 key, TextDirection text_direction,
+ ShowPasswordSuggestions(int32 key,
+ mojo.common.mojom.TextDirection text_direction,
mojo.common.mojom.String16 typed_username,
int32 options, gfx.mojom.RectF bounds);
@@ -99,7 +101,8 @@ interface PasswordManagerDriver {
// is not secure. The popup will use |text_direction| for displaying
// text. This popup is shown when a password form on a non-secure page is
// autofilled on page load.
- ShowNotSecureWarning(TextDirection text_direction, gfx.mojom.RectF bounds);
+ ShowNotSecureWarning(mojo.common.mojom.TextDirection text_direction,
+ gfx.mojom.RectF bounds);
// Instructs the browser to presave the form with generated password.
PresaveGeneratedPassword(PasswordForm password_form);
« no previous file with comments | « base/i18n/rtl.h ('k') | components/autofill/content/common/autofill_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698