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

Side by Side Diff: content/public/common/common_param_traits_macros.h

Issue 1824993004: Separate gfx_ipc into skia-dependent and non-skia-dependent parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits from tsepez@ Created 4 years, 8 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
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_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 8 #ifndef CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
9 #define CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 9 #define CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
10 10
(...skipping 10 matching lines...) Expand all
21 #include "third_party/WebKit/public/platform/WebPoint.h" 21 #include "third_party/WebKit/public/platform/WebPoint.h"
22 #include "third_party/WebKit/public/platform/WebRect.h" 22 #include "third_party/WebKit/public/platform/WebRect.h"
23 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" 23 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
24 #include "third_party/WebKit/public/platform/WebURLRequest.h" 24 #include "third_party/WebKit/public/platform/WebURLRequest.h"
25 #include "third_party/WebKit/public/web/WebWindowFeatures.h" 25 #include "third_party/WebKit/public/web/WebWindowFeatures.h"
26 #include "ui/accessibility/ax_node_data.h" 26 #include "ui/accessibility/ax_node_data.h"
27 #include "ui/accessibility/ax_tree_update.h" 27 #include "ui/accessibility/ax_tree_update.h"
28 #include "ui/base/page_transition_types.h" 28 #include "ui/base/page_transition_types.h"
29 #include "ui/base/window_open_disposition.h" 29 #include "ui/base/window_open_disposition.h"
30 #include "ui/gfx/ipc/gfx_param_traits.h" 30 #include "ui/gfx/ipc/gfx_param_traits.h"
31 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
31 32
32 #undef IPC_MESSAGE_EXPORT 33 #undef IPC_MESSAGE_EXPORT
33 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 34 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
34 35
35 IPC_ENUM_TRAITS_VALIDATE(ui::PageTransition, 36 IPC_ENUM_TRAITS_VALIDATE(ui::PageTransition,
36 ((value & 37 ((value &
37 ui::PageTransition::PAGE_TRANSITION_CORE_MASK) <= 38 ui::PageTransition::PAGE_TRANSITION_CORE_MASK) <=
38 ui::PageTransition::PAGE_TRANSITION_LAST_CORE)) 39 ui::PageTransition::PAGE_TRANSITION_LAST_CORE))
39 IPC_ENUM_TRAITS_MAX_VALUE(net::NetworkChangeNotifier::ConnectionType, 40 IPC_ENUM_TRAITS_MAX_VALUE(net::NetworkChangeNotifier::ConnectionType,
40 net::NetworkChangeNotifier::CONNECTION_LAST) 41 net::NetworkChangeNotifier::CONNECTION_LAST)
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEvent, ui::AX_EVENT_LAST) 254 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEvent, ui::AX_EVENT_LAST)
254 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXRole, ui::AX_ROLE_LAST) 255 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXRole, ui::AX_ROLE_LAST)
255 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXBoolAttribute, ui::AX_BOOL_ATTRIBUTE_LAST) 256 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXBoolAttribute, ui::AX_BOOL_ATTRIBUTE_LAST)
256 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXFloatAttribute, ui::AX_FLOAT_ATTRIBUTE_LAST) 257 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXFloatAttribute, ui::AX_FLOAT_ATTRIBUTE_LAST)
257 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntAttribute, ui::AX_INT_ATTRIBUTE_LAST) 258 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntAttribute, ui::AX_INT_ATTRIBUTE_LAST)
258 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntListAttribute, 259 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntListAttribute,
259 ui::AX_INT_LIST_ATTRIBUTE_LAST) 260 ui::AX_INT_LIST_ATTRIBUTE_LAST)
260 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXStringAttribute, ui::AX_STRING_ATTRIBUTE_LAST) 261 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXStringAttribute, ui::AX_STRING_ATTRIBUTE_LAST)
261 262
262 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 263 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « content/public/common/BUILD.gn ('k') | content/shell/BUILD.gn » ('j') | ui/ozone/ozone.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698