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

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

Issue 2248873002: Convert WindowOpenDisposition to an enum class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 3 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
« no previous file with comments | « content/public/browser/web_contents_delegate.cc ('k') | content/renderer/render_frame_proxy.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_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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 content::SECURITY_STYLE_LAST) 50 content::SECURITY_STYLE_LAST)
51 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFrameSerializerCacheControlPolicy, 51 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFrameSerializerCacheControlPolicy,
52 blink::WebFrameSerializerCacheControlPolicy::Last) 52 blink::WebFrameSerializerCacheControlPolicy::Last)
53 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebReferrerPolicy, 53 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebReferrerPolicy,
54 blink::WebReferrerPolicyLast) 54 blink::WebReferrerPolicyLast)
55 IPC_ENUM_TRAITS_MAX_VALUE(blink::mojom::PermissionStatus, 55 IPC_ENUM_TRAITS_MAX_VALUE(blink::mojom::PermissionStatus,
56 blink::mojom::PermissionStatus::LAST) 56 blink::mojom::PermissionStatus::LAST)
57 IPC_ENUM_TRAITS_MAX_VALUE(content::EditingBehavior, 57 IPC_ENUM_TRAITS_MAX_VALUE(content::EditingBehavior,
58 content::EDITING_BEHAVIOR_LAST) 58 content::EDITING_BEHAVIOR_LAST)
59 IPC_ENUM_TRAITS_MAX_VALUE(WindowOpenDisposition, 59 IPC_ENUM_TRAITS_MAX_VALUE(WindowOpenDisposition,
60 WINDOW_OPEN_DISPOSITION_LAST) 60 WindowOpenDisposition::MAX_VALUE)
61 IPC_ENUM_TRAITS_MAX_VALUE(net::RequestPriority, net::MAXIMUM_PRIORITY) 61 IPC_ENUM_TRAITS_MAX_VALUE(net::RequestPriority, net::MAXIMUM_PRIORITY)
62 IPC_ENUM_TRAITS_MAX_VALUE(content::V8CacheOptions, 62 IPC_ENUM_TRAITS_MAX_VALUE(content::V8CacheOptions,
63 content::V8_CACHE_OPTIONS_LAST) 63 content::V8_CACHE_OPTIONS_LAST)
64 #if defined(OS_ANDROID) 64 #if defined(OS_ANDROID)
65 IPC_ENUM_TRAITS_MAX_VALUE(content::ProgressBarCompletion, 65 IPC_ENUM_TRAITS_MAX_VALUE(content::ProgressBarCompletion,
66 content::ProgressBarCompletion::LAST) 66 content::ProgressBarCompletion::LAST)
67 #endif 67 #endif
68 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::PointerType, 68 IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::PointerType,
69 ui::POINTER_TYPE_FIRST, 69 ui::POINTER_TYPE_FIRST,
70 ui::POINTER_TYPE_LAST) 70 ui::POINTER_TYPE_LAST)
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXStringAttribute, ui::AX_STRING_ATTRIBUTE_LAST) 280 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXStringAttribute, ui::AX_STRING_ATTRIBUTE_LAST)
281 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST) 281 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXTextAffinity, ui::AX_TEXT_AFFINITY_LAST)
282 282
283 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds) 283 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds)
284 IPC_STRUCT_TRAITS_MEMBER(offset_container_id) 284 IPC_STRUCT_TRAITS_MEMBER(offset_container_id)
285 IPC_STRUCT_TRAITS_MEMBER(bounds) 285 IPC_STRUCT_TRAITS_MEMBER(bounds)
286 IPC_STRUCT_TRAITS_MEMBER(transform) 286 IPC_STRUCT_TRAITS_MEMBER(transform)
287 IPC_STRUCT_TRAITS_END() 287 IPC_STRUCT_TRAITS_END()
288 288
289 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 289 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_delegate.cc ('k') | content/renderer/render_frame_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698