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

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

Issue 2355023002: Preserving Content-Type header from http request in OpenURL path. (Closed)
Patch Set: Reordered fields of FrameHostMsg_OpenURL_Params to match order in content::OpenURLParams. Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 IPC_STRUCT_TRAITS_END() 403 IPC_STRUCT_TRAITS_END()
404 404
405 // Parameters included with an OpenURL request. 405 // Parameters included with an OpenURL request.
406 // |is_history_navigation_in_new_child| is true in the case that the browser 406 // |is_history_navigation_in_new_child| is true in the case that the browser
407 // process should look for an existing history item for the frame. 407 // process should look for an existing history item for the frame.
408 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) 408 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params)
409 IPC_STRUCT_MEMBER(GURL, url) 409 IPC_STRUCT_MEMBER(GURL, url)
410 IPC_STRUCT_MEMBER(bool, uses_post) 410 IPC_STRUCT_MEMBER(bool, uses_post)
411 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBodyImpl>, 411 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBodyImpl>,
412 resource_request_body) 412 resource_request_body)
413 IPC_STRUCT_MEMBER(std::string, extra_headers)
413 IPC_STRUCT_MEMBER(content::Referrer, referrer) 414 IPC_STRUCT_MEMBER(content::Referrer, referrer)
414 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 415 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
415 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) 416 IPC_STRUCT_MEMBER(bool, should_replace_current_entry)
416 IPC_STRUCT_MEMBER(bool, user_gesture) 417 IPC_STRUCT_MEMBER(bool, user_gesture)
417 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child) 418 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child)
418 IPC_STRUCT_END() 419 IPC_STRUCT_END()
419 420
420 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params) 421 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params)
421 // Text tracks on/off state 422 // Text tracks on/off state
422 IPC_STRUCT_MEMBER(bool, text_tracks_enabled) 423 IPC_STRUCT_MEMBER(bool, text_tracks_enabled)
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after
1500 // nearest find result in the sending frame. 1501 // nearest find result in the sending frame.
1501 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1502 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1502 int /* nfr_request_id */, 1503 int /* nfr_request_id */,
1503 float /* distance */) 1504 float /* distance */)
1504 #endif 1505 #endif
1505 1506
1506 // Adding a new message? Stick to the sort order above: first platform 1507 // Adding a new message? Stick to the sort order above: first platform
1507 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1508 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1508 // platform independent FrameHostMsg, then ifdefs for platform specific 1509 // platform independent FrameHostMsg, then ifdefs for platform specific
1509 // FrameHostMsg. 1510 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698