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

Unified Diff: components/autofill/content/public/cpp/autofill_types.typemap

Issue 1999623002: [Autofill] Add typemap for autofill:FormFieldData and autofill::FormData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from dcheng Created 4 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/content/public/cpp/autofill_types.typemap
diff --git a/components/autofill/content/public/cpp/autofill_types.typemap b/components/autofill/content/public/cpp/autofill_types.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..e757952bc9248d5daa5ee820592072888b6fba4d
--- /dev/null
+++ b/components/autofill/content/public/cpp/autofill_types.typemap
@@ -0,0 +1,28 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+mojom = "//components/autofill/content/public/interfaces/autofill_types.mojom"
+public_headers = [
+ "//components/autofill/core/common/form_data.h",
+ "//components/autofill/core/common/form_field_data.h",
+]
+traits_headers = [
+ "//components/autofill/content/public/cpp/autofill_types_struct_traits.h"
+]
+sources = [
+ "//components/autofill/content/public/cpp/autofill_types_struct_traits.cc"
+]
+deps = [
+ "//base",
+ "//base:i18n",
+ "//components/autofill/core/common",
+]
+
+type_mappings = [
+ "autofill.mojom.CheckStatus=autofill::FormFieldData::CheckStatus",
+ "autofill.mojom.FormData=autofill::FormData",
+ "autofill.mojom.FormFieldData=autofill::FormFieldData",
+ "autofill.mojom.RoleAttribute=autofill::FormFieldData::RoleAttribute",
+ "autofill.mojom.TextDirection=base::i18n::TextDirection",
+]
« no previous file with comments | « components/autofill/content/public/cpp/BUILD.gn ('k') | components/autofill/content/public/cpp/autofill_types_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698