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

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

Issue 1678303004: PlzNavigate: inform the renderer that a navigation is a POST (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 IPC_STRUCT_TRAITS_MEMBER(transition) 320 IPC_STRUCT_TRAITS_MEMBER(transition)
321 IPC_STRUCT_TRAITS_MEMBER(navigation_type) 321 IPC_STRUCT_TRAITS_MEMBER(navigation_type)
322 IPC_STRUCT_TRAITS_MEMBER(allow_download) 322 IPC_STRUCT_TRAITS_MEMBER(allow_download)
323 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) 323 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
324 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) 324 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp)
325 IPC_STRUCT_TRAITS_MEMBER(report_type) 325 IPC_STRUCT_TRAITS_MEMBER(report_type)
326 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) 326 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url)
327 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) 327 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url)
328 IPC_STRUCT_TRAITS_MEMBER(lofi_state) 328 IPC_STRUCT_TRAITS_MEMBER(lofi_state)
329 IPC_STRUCT_TRAITS_MEMBER(navigation_start) 329 IPC_STRUCT_TRAITS_MEMBER(navigation_start)
330 IPC_STRUCT_TRAITS_MEMBER(is_post)
330 IPC_STRUCT_TRAITS_END() 331 IPC_STRUCT_TRAITS_END()
331 332
332 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) 333 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams)
333 IPC_STRUCT_TRAITS_MEMBER(method)
334 IPC_STRUCT_TRAITS_MEMBER(headers) 334 IPC_STRUCT_TRAITS_MEMBER(headers)
335 IPC_STRUCT_TRAITS_MEMBER(load_flags) 335 IPC_STRUCT_TRAITS_MEMBER(load_flags)
336 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 336 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
337 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) 337 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker)
338 IPC_STRUCT_TRAITS_MEMBER(request_context_type) 338 IPC_STRUCT_TRAITS_MEMBER(request_context_type)
339 IPC_STRUCT_TRAITS_END() 339 IPC_STRUCT_TRAITS_END()
340 340
341 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) 341 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams)
342 IPC_STRUCT_TRAITS_MEMBER(is_post)
343 IPC_STRUCT_TRAITS_MEMBER(extra_headers) 342 IPC_STRUCT_TRAITS_MEMBER(extra_headers)
344 IPC_STRUCT_TRAITS_MEMBER(browser_initiated_post_data) 343 IPC_STRUCT_TRAITS_MEMBER(browser_initiated_post_data)
345 #if defined(OS_ANDROID) 344 #if defined(OS_ANDROID)
346 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 345 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
347 #endif 346 #endif
348 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) 347 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id)
349 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) 348 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id)
350 IPC_STRUCT_TRAITS_END() 349 IPC_STRUCT_TRAITS_END()
351 350
352 IPC_STRUCT_TRAITS_BEGIN(content::RequestNavigationParams) 351 IPC_STRUCT_TRAITS_BEGIN(content::RequestNavigationParams)
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1429 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, 1428 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply,
1430 int /* version */, 1429 int /* version */,
1431 std::vector<gfx::RectF> /* rects */, 1430 std::vector<gfx::RectF> /* rects */,
1432 gfx::RectF /* active_rect */) 1431 gfx::RectF /* active_rect */)
1433 #endif 1432 #endif
1434 1433
1435 // Adding a new message? Stick to the sort order above: first platform 1434 // Adding a new message? Stick to the sort order above: first platform
1436 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1435 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1437 // platform independent FrameHostMsg, then ifdefs for platform specific 1436 // platform independent FrameHostMsg, then ifdefs for platform specific
1438 // FrameHostMsg. 1437 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698