[content shell] implement testRunner.overridePreference
[chromium-blink-merge.git] / content / common / content_param_traits_macros.h
blob332f8f04fb0458722455edea3dd1acca0bfc21d2
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Singly or Multiply-included shared traits file depending on circumstances.
6 // This allows the use of IPC serialization macros in more than one IPC message
7 // file.
8 #ifndef CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_
9 #define CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_
11 #include "content/common/content_export.h"
12 #include "ipc/ipc_message_macros.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
14 #include "webkit/glue/resource_type.h"
16 #undef IPC_MESSAGE_EXPORT
17 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
19 IPC_ENUM_TRAITS(ResourceType::Type)
20 IPC_ENUM_TRAITS(WebKit::WebInputEvent::Type)
22 #endif // CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_