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

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

Issue 2099243002: PlzNavigate: properly set the initiator of the navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 5 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 IPC_STRUCT_TRAITS_MEMBER(method) 346 IPC_STRUCT_TRAITS_MEMBER(method)
347 IPC_STRUCT_TRAITS_MEMBER(post_data) 347 IPC_STRUCT_TRAITS_MEMBER(post_data)
348 IPC_STRUCT_TRAITS_END() 348 IPC_STRUCT_TRAITS_END()
349 349
350 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) 350 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams)
351 IPC_STRUCT_TRAITS_MEMBER(headers) 351 IPC_STRUCT_TRAITS_MEMBER(headers)
352 IPC_STRUCT_TRAITS_MEMBER(load_flags) 352 IPC_STRUCT_TRAITS_MEMBER(load_flags)
353 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 353 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
354 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) 354 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker)
355 IPC_STRUCT_TRAITS_MEMBER(request_context_type) 355 IPC_STRUCT_TRAITS_MEMBER(request_context_type)
356 IPC_STRUCT_TRAITS_MEMBER(initiator)
356 IPC_STRUCT_TRAITS_END() 357 IPC_STRUCT_TRAITS_END()
357 358
358 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) 359 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams)
359 IPC_STRUCT_TRAITS_MEMBER(extra_headers) 360 IPC_STRUCT_TRAITS_MEMBER(extra_headers)
360 #if defined(OS_ANDROID) 361 #if defined(OS_ANDROID)
361 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 362 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
362 #endif 363 #endif
363 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) 364 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id)
364 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) 365 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id)
365 IPC_STRUCT_TRAITS_END() 366 IPC_STRUCT_TRAITS_END()
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 // nearest find result in the sending frame. 1568 // nearest find result in the sending frame.
1568 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1569 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1569 int /* nfr_request_id */, 1570 int /* nfr_request_id */,
1570 float /* distance */) 1571 float /* distance */)
1571 #endif 1572 #endif
1572 1573
1573 // Adding a new message? Stick to the sort order above: first platform 1574 // Adding a new message? Stick to the sort order above: first platform
1574 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1575 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1575 // platform independent FrameHostMsg, then ifdefs for platform specific 1576 // platform independent FrameHostMsg, then ifdefs for platform specific
1576 // FrameHostMsg. 1577 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698