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

Side by Side Diff: content/common/content_param_traits_macros.h

Issue 20003004: reland crrev.com/212927 Move webkitplatformsupport_impl and related from glue to child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & allocator dep for components_unittests in shared_library2 Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/DEPS ('k') | content/common/resource_messages.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Singly or Multiply-included shared traits file depending on circumstances. 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 6 // This allows the use of IPC serialization macros in more than one IPC message
7 // file. 7 // file.
8 #ifndef CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ 8 #ifndef CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_
9 #define CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ 9 #define CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_
10 10
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "ipc/ipc_message_macros.h" 12 #include "ipc/ipc_message_macros.h"
13 #include "third_party/WebKit/public/web/WebInputEvent.h" 13 #include "third_party/WebKit/public/web/WebInputEvent.h"
14 #include "ui/base/latency_info.h" 14 #include "ui/base/latency_info.h"
15 #include "webkit/glue/resource_type.h" 15 #include "webkit/common/resource_type.h"
16 16
17 #undef IPC_MESSAGE_EXPORT 17 #undef IPC_MESSAGE_EXPORT
18 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 18 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
19 19
20 IPC_ENUM_TRAITS(ResourceType::Type) 20 IPC_ENUM_TRAITS(ResourceType::Type)
21 IPC_ENUM_TRAITS(WebKit::WebInputEvent::Type) 21 IPC_ENUM_TRAITS(WebKit::WebInputEvent::Type)
22 IPC_ENUM_TRAITS(ui::LatencyComponentType) 22 IPC_ENUM_TRAITS(ui::LatencyComponentType)
23 23
24 IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::LatencyComponent) 24 IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo::LatencyComponent)
25 IPC_STRUCT_TRAITS_MEMBER(sequence_number) 25 IPC_STRUCT_TRAITS_MEMBER(sequence_number)
26 IPC_STRUCT_TRAITS_MEMBER(event_time) 26 IPC_STRUCT_TRAITS_MEMBER(event_time)
27 IPC_STRUCT_TRAITS_MEMBER(event_count) 27 IPC_STRUCT_TRAITS_MEMBER(event_count)
28 IPC_STRUCT_TRAITS_END() 28 IPC_STRUCT_TRAITS_END()
29 29
30 IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo) 30 IPC_STRUCT_TRAITS_BEGIN(ui::LatencyInfo)
31 IPC_STRUCT_TRAITS_MEMBER(latency_components) 31 IPC_STRUCT_TRAITS_MEMBER(latency_components)
32 IPC_STRUCT_TRAITS_MEMBER(swap_timestamp) 32 IPC_STRUCT_TRAITS_MEMBER(swap_timestamp)
33 IPC_STRUCT_TRAITS_END() 33 IPC_STRUCT_TRAITS_END()
34 34
35 #endif // CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ 35 #endif // CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « content/common/DEPS ('k') | content/common/resource_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698