Index: content/common/native_types.typemap |
diff --git a/content/common/native_types.typemap b/content/common/native_types.typemap |
new file mode 100644 |
index 0000000000000000000000000000000000000000..94b82365fe688754c9de215180a5bf951ea2dc28 |
--- /dev/null |
+++ b/content/common/native_types.typemap |
@@ -0,0 +1,40 @@ |
+# 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 = "//content/common/native_types.mojom" |
+public_headers = [ |
+ "//content/common/frame_replication_state.h", |
+ "//content/common/resize_params.h", |
+ "//content/public/common/renderer_preferences.h", |
+ "//content/public/common/web_preferences.h", |
+] |
+traits_headers = [ |
+ "//content/common/frame_messages.h", |
+ "//content/common/view_messages.h", |
+ "//content/public/common/common_param_traits.h", |
+] |
+public_deps = [ |
+ # NOTE: These dependencies are here to satisfy gn check because |
+ # common_param_traits_macros.h and/or view_messages.h include their headers. |
+ # Although the mojo bindings target is configured to allow direct circular |
+ # includes from //content/common and //content/public/common, this isn't a |
+ # transitive allowance, so those targets' own public_deps aren't included in |
+ # the set of implied dependencies. |
+ "//cc/ipc", |
+ "//media", |
+ "//media/base/ipc", |
+ "//ui/accessibility", |
+ "//ui/base/ime:text_input_types", |
+ "//ui/gfx/ipc", |
+ "//ui/gfx/ipc/color", |
+ "//ui/gfx/ipc/skia", |
+ "//ui/surface", |
+ "//url/ipc:url_ipc", |
+] |
+type_mappings = [ |
+ "content.mojom.FrameReplicationState=content::FrameReplicationState", |
+ "content.mojom.RendererPreferences=content::RendererPreferences", |
+ "content.mojom.ResizeParams=content::ResizeParams", |
+ "content.mojom.WebPreferences=content::WebPreferences", |
+] |