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

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

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/resource_dispatcher_unittest.cc ('k') | content/common/view_messages.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // IPC messages for resource loading. 5 // IPC messages for resource loading.
6 6
7 // Multiply-included message file, hence no include guard. 7 // Multiply-included message file, hence no include guard.
8 #include "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 #include "content/common/page_transition_types.h" 9 #include "content/common/common_param_traits.h"
10 #include "content/common/resource_response.h" 10 #include "content/common/resource_response.h"
11 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
12 #include "net/base/upload_data.h" 12 #include "net/base/upload_data.h"
13 13
14 #define IPC_MESSAGE_START ResourceMsgStart 14 #define IPC_MESSAGE_START ResourceMsgStart
15 #undef IPC_MESSAGE_EXPORT 15 #undef IPC_MESSAGE_EXPORT
16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
17 17
18 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::ResourceResponseInfo) 18 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::ResourceResponseInfo)
19 IPC_STRUCT_TRAITS_MEMBER(request_time) 19 IPC_STRUCT_TRAITS_MEMBER(request_time)
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // True if the request was user initiated. 96 // True if the request was user initiated.
97 IPC_STRUCT_MEMBER(bool, has_user_gesture) 97 IPC_STRUCT_MEMBER(bool, has_user_gesture)
98 98
99 // True if |frame_id| is the main frame of a RenderView. 99 // True if |frame_id| is the main frame of a RenderView.
100 IPC_STRUCT_MEMBER(bool, is_main_frame) 100 IPC_STRUCT_MEMBER(bool, is_main_frame)
101 101
102 // Identifies the frame within the RenderView that sent the request. 102 // Identifies the frame within the RenderView that sent the request.
103 // -1 if unknown / invalid. 103 // -1 if unknown / invalid.
104 IPC_STRUCT_MEMBER(int64, frame_id) 104 IPC_STRUCT_MEMBER(int64, frame_id)
105 105
106 IPC_STRUCT_MEMBER(PageTransition::Type, transition_type) 106 IPC_STRUCT_MEMBER(content::PageTransition, transition_type)
107 IPC_STRUCT_END() 107 IPC_STRUCT_END()
108 108
109 // Resource messages sent from the browser to the renderer. 109 // Resource messages sent from the browser to the renderer.
110 110
111 // Sent when the headers are available for a resource request. 111 // Sent when the headers are available for a resource request.
112 IPC_MESSAGE_ROUTED2(ResourceMsg_ReceivedResponse, 112 IPC_MESSAGE_ROUTED2(ResourceMsg_ReceivedResponse,
113 int /* request_id */, 113 int /* request_id */,
114 ResourceResponseHead) 114 ResourceResponseHead)
115 115
116 // Sent when cached metadata from a resource request is ready. 116 // Sent when cached metadata from a resource request is ready.
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 int /* request_id */) 195 int /* request_id */)
196 196
197 // Sent by the renderer process to acknowledge receipt of a 197 // Sent by the renderer process to acknowledge receipt of a
198 // UploadProgress message. 198 // UploadProgress message.
199 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, 199 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK,
200 int /* request_id */) 200 int /* request_id */)
201 201
202 // Sent when the renderer process deletes a resource loader. 202 // Sent when the renderer process deletes a resource loader.
203 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 203 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
204 int /* request_id */) 204 int /* request_id */)
OLDNEW
« no previous file with comments | « content/common/resource_dispatcher_unittest.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698