Index: content/common/content_param_traits_macros.h |
=================================================================== |
--- content/common/content_param_traits_macros.h (revision 0) |
+++ content/common/content_param_traits_macros.h (revision 0) |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2012 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. |
+ |
+// Singly or Multiply-included shared traits file depending on circumstances. |
+// This allows the use of IPC serialization macros in more than one IPC message |
+// file. |
+#ifndef CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ |
+#define CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ |
+ |
+#include "content/common/content_export.h" |
+#include "content/public/common/page_transition_types.h" |
+#include "ipc/ipc_message_macros.h" |
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
+#include "webkit/glue/resource_type.h" |
+ |
+#undef IPC_MESSAGE_EXPORT |
+#define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
+ |
+IPC_ENUM_TRAITS(content::PageTransition) |
+IPC_ENUM_TRAITS(ResourceType::Type) |
+IPC_ENUM_TRAITS(WebKit::WebInputEvent::Type) |
+ |
+#endif // CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ |
Property changes on: content\common\content_param_traits_macros.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |