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

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

Issue 11270027: Add a ResourceScheduler to ResourceDispatcherHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move Client back to .h -- broke Win Created 7 years, 10 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/content_tests.gypi ('k') | content/renderer/render_view_impl.h » ('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
11 #include "content/public/common/console_message_level.h" 11 #include "content/public/common/console_message_level.h"
12 #include "content/public/common/page_transition_types.h" 12 #include "content/public/common/page_transition_types.h"
13 #include "content/public/common/password_form.h" 13 #include "content/public/common/password_form.h"
14 #include "content/public/common/security_style.h" 14 #include "content/public/common/security_style.h"
15 #include "content/public/common/ssl_status.h" 15 #include "content/public/common/ssl_status.h"
16 #include "ipc/ipc_message_macros.h" 16 #include "ipc/ipc_message_macros.h"
17 #include "net/base/request_priority.h"
17 #include "third_party/WebKit/Source/Platform/chromium/public/WebPoint.h" 18 #include "third_party/WebKit/Source/Platform/chromium/public/WebPoint.h"
18 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" 19 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h"
19 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h " 20 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h "
20 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" 21 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h"
21 #include "ui/base/window_open_disposition.h" 22 #include "ui/base/window_open_disposition.h"
22 #include "webkit/glue/webpreferences.h" 23 #include "webkit/glue/webpreferences.h"
23 #include "webkit/plugins/webplugininfo.h" 24 #include "webkit/plugins/webplugininfo.h"
24 25
25 #undef IPC_MESSAGE_EXPORT 26 #undef IPC_MESSAGE_EXPORT
26 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 27 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
27 28
28 IPC_ENUM_TRAITS(content::ConsoleMessageLevel) 29 IPC_ENUM_TRAITS(content::ConsoleMessageLevel)
29 IPC_ENUM_TRAITS(content::PageTransition) 30 IPC_ENUM_TRAITS(content::PageTransition)
30 IPC_ENUM_TRAITS(content::SecurityStyle) 31 IPC_ENUM_TRAITS(content::SecurityStyle)
31 IPC_ENUM_TRAITS(WebKit::WebReferrerPolicy) 32 IPC_ENUM_TRAITS(WebKit::WebReferrerPolicy)
32 IPC_ENUM_TRAITS(WindowOpenDisposition) 33 IPC_ENUM_TRAITS(WindowOpenDisposition)
33 IPC_ENUM_TRAITS(webkit_glue::WebPreferences::EditingBehavior) 34 IPC_ENUM_TRAITS(webkit_glue::WebPreferences::EditingBehavior)
34 IPC_ENUM_TRAITS(content::PasswordForm::Type) 35 IPC_ENUM_TRAITS(content::PasswordForm::Type)
35 IPC_ENUM_TRAITS(WebKit::WebURLRequest::Priority) 36 IPC_ENUM_TRAITS(net::RequestPriority)
36 37
37 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebPoint) 38 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebPoint)
38 IPC_STRUCT_TRAITS_MEMBER(x) 39 IPC_STRUCT_TRAITS_MEMBER(x)
39 IPC_STRUCT_TRAITS_MEMBER(y) 40 IPC_STRUCT_TRAITS_MEMBER(y)
40 IPC_STRUCT_TRAITS_END() 41 IPC_STRUCT_TRAITS_END()
41 42
42 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebRect) 43 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebRect)
43 IPC_STRUCT_TRAITS_MEMBER(x) 44 IPC_STRUCT_TRAITS_MEMBER(x)
44 IPC_STRUCT_TRAITS_MEMBER(y) 45 IPC_STRUCT_TRAITS_MEMBER(y)
45 IPC_STRUCT_TRAITS_MEMBER(width) 46 IPC_STRUCT_TRAITS_MEMBER(width)
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 IPC_STRUCT_TRAITS_MEMBER(cookie_enabled) 204 IPC_STRUCT_TRAITS_MEMBER(cookie_enabled)
204 IPC_STRUCT_TRAITS_MEMBER(apply_page_scale_factor_in_compositor) 205 IPC_STRUCT_TRAITS_MEMBER(apply_page_scale_factor_in_compositor)
205 #if defined(OS_ANDROID) 206 #if defined(OS_ANDROID)
206 IPC_STRUCT_TRAITS_MEMBER(text_autosizing_enabled) 207 IPC_STRUCT_TRAITS_MEMBER(text_autosizing_enabled)
207 IPC_STRUCT_TRAITS_MEMBER(font_scale_factor) 208 IPC_STRUCT_TRAITS_MEMBER(font_scale_factor)
208 IPC_STRUCT_TRAITS_MEMBER(force_enable_zoom) 209 IPC_STRUCT_TRAITS_MEMBER(force_enable_zoom)
209 #endif 210 #endif
210 IPC_STRUCT_TRAITS_END() 211 IPC_STRUCT_TRAITS_END()
211 212
212 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 213 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698