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

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

Issue 2745363004: PlzNavigate: send SourceLocation when mixed content is found (Closed)
Patch Set: Rebase Created 3 years, 9 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
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/renderer/render_frame_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 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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 IPC_STRUCT_TRAITS_MEMBER(title) 608 IPC_STRUCT_TRAITS_MEMBER(title)
609 IPC_STRUCT_TRAITS_MEMBER(default_file_name) 609 IPC_STRUCT_TRAITS_MEMBER(default_file_name)
610 IPC_STRUCT_TRAITS_MEMBER(accept_types) 610 IPC_STRUCT_TRAITS_MEMBER(accept_types)
611 IPC_STRUCT_TRAITS_MEMBER(need_local_path) 611 IPC_STRUCT_TRAITS_MEMBER(need_local_path)
612 #if defined(OS_ANDROID) 612 #if defined(OS_ANDROID)
613 IPC_STRUCT_TRAITS_MEMBER(capture) 613 IPC_STRUCT_TRAITS_MEMBER(capture)
614 #endif 614 #endif
615 IPC_STRUCT_TRAITS_MEMBER(requestor) 615 IPC_STRUCT_TRAITS_MEMBER(requestor)
616 IPC_STRUCT_TRAITS_END() 616 IPC_STRUCT_TRAITS_END()
617 617
618 IPC_STRUCT_BEGIN(FrameMsg_MixedContentFound_Params)
619 IPC_STRUCT_MEMBER(GURL, main_resource_url)
620 IPC_STRUCT_MEMBER(GURL, mixed_content_url)
621 IPC_STRUCT_MEMBER(content::RequestContextType, request_context_type)
622 IPC_STRUCT_MEMBER(bool, was_allowed)
623 IPC_STRUCT_MEMBER(bool, had_redirect)
624 IPC_STRUCT_MEMBER(content::SourceLocation, source_location)
625 IPC_STRUCT_END()
626
618 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) 627 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
619 // This message is used for supporting popup menus on Mac OS X and Android using 628 // This message is used for supporting popup menus on Mac OS X and Android using
620 // native controls. See the FrameHostMsg_ShowPopup message. 629 // native controls. See the FrameHostMsg_ShowPopup message.
621 IPC_STRUCT_BEGIN(FrameHostMsg_ShowPopup_Params) 630 IPC_STRUCT_BEGIN(FrameHostMsg_ShowPopup_Params)
622 // Position on the screen. 631 // Position on the screen.
623 IPC_STRUCT_MEMBER(gfx::Rect, bounds) 632 IPC_STRUCT_MEMBER(gfx::Rect, bounds)
624 633
625 // The height of each item in the menu. 634 // The height of each item in the menu.
626 IPC_STRUCT_MEMBER(int, item_height) 635 IPC_STRUCT_MEMBER(int, item_height)
627 636
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 1013
1005 // Updates the renderer with a list of unique blink::UseCounter::Feature values 1014 // Updates the renderer with a list of unique blink::UseCounter::Feature values
1006 // representing Blink features used, performed or encountered by the browser 1015 // representing Blink features used, performed or encountered by the browser
1007 // during the current page load happening on the frame. 1016 // during the current page load happening on the frame.
1008 IPC_MESSAGE_ROUTED1(FrameMsg_BlinkFeatureUsageReport, 1017 IPC_MESSAGE_ROUTED1(FrameMsg_BlinkFeatureUsageReport,
1009 std::set<int>) /* features */ 1018 std::set<int>) /* features */
1010 1019
1011 // Informs the renderer that mixed content was found by the browser. The 1020 // Informs the renderer that mixed content was found by the browser. The
1012 // included data is used for instance to report to the CSP policy and to log to 1021 // included data is used for instance to report to the CSP policy and to log to
1013 // the frame console. 1022 // the frame console.
1014 IPC_MESSAGE_ROUTED5(FrameMsg_MixedContentFound, 1023 IPC_MESSAGE_ROUTED1(FrameMsg_MixedContentFound,
1015 GURL, /* main_resource_url */ 1024 FrameMsg_MixedContentFound_Params)
1016 GURL, /* mixed_content_url */
1017 content::RequestContextType, /* request_context_type */
1018 bool, /* was_allowed */
1019 bool) /* had_redirect */
1020 1025
1021 // ----------------------------------------------------------------------------- 1026 // -----------------------------------------------------------------------------
1022 // Messages sent from the renderer to the browser. 1027 // Messages sent from the renderer to the browser.
1023 1028
1024 // Blink and JavaScript error messages to log to the console 1029 // Blink and JavaScript error messages to log to the console
1025 // or debugger UI. 1030 // or debugger UI.
1026 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole, 1031 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole,
1027 int32_t, /* log level */ 1032 int32_t, /* log level */
1028 base::string16, /* msg */ 1033 base::string16, /* msg */
1029 int32_t, /* line number */ 1034 int32_t, /* line number */
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
1640 int /* nfr_request_id */, 1645 int /* nfr_request_id */,
1641 float /* distance */) 1646 float /* distance */)
1642 1647
1643 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) 1648 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder)
1644 #endif 1649 #endif
1645 1650
1646 // Adding a new message? Stick to the sort order above: first platform 1651 // Adding a new message? Stick to the sort order above: first platform
1647 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1652 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1648 // platform independent FrameHostMsg, then ifdefs for platform specific 1653 // platform independent FrameHostMsg, then ifdefs for platform specific
1649 // FrameHostMsg. 1654 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_request.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698