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

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

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Minor changes from nasko@'s comments Created 3 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/origin_util.cc » ('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 22 matching lines...) Expand all
33 #include "content/public/common/context_menu_params.h" 33 #include "content/public/common/context_menu_params.h"
34 #include "content/public/common/file_chooser_file_info.h" 34 #include "content/public/common/file_chooser_file_info.h"
35 #include "content/public/common/file_chooser_params.h" 35 #include "content/public/common/file_chooser_params.h"
36 #include "content/public/common/form_field_data.h" 36 #include "content/public/common/form_field_data.h"
37 #include "content/public/common/frame_navigate_params.h" 37 #include "content/public/common/frame_navigate_params.h"
38 #include "content/public/common/javascript_dialog_type.h" 38 #include "content/public/common/javascript_dialog_type.h"
39 #include "content/public/common/page_importance_signals.h" 39 #include "content/public/common/page_importance_signals.h"
40 #include "content/public/common/page_state.h" 40 #include "content/public/common/page_state.h"
41 #include "content/public/common/previews_state.h" 41 #include "content/public/common/previews_state.h"
42 #include "content/public/common/referrer.h" 42 #include "content/public/common/referrer.h"
43 #include "content/public/common/request_context_type.h"
43 #include "content/public/common/resource_response.h" 44 #include "content/public/common/resource_response.h"
44 #include "content/public/common/stop_find_action.h" 45 #include "content/public/common/stop_find_action.h"
45 #include "content/public/common/three_d_api_types.h" 46 #include "content/public/common/three_d_api_types.h"
46 #include "ipc/ipc_message_macros.h" 47 #include "ipc/ipc_message_macros.h"
47 #include "ipc/ipc_platform_file.h" 48 #include "ipc/ipc_platform_file.h"
48 #include "ppapi/features/features.h" 49 #include "ppapi/features/features.h"
49 #include "third_party/WebKit/public/platform/WebFocusType.h" 50 #include "third_party/WebKit/public/platform/WebFocusType.h"
50 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h" 51 #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
51 #include "third_party/WebKit/public/web/WebFindOptions.h" 52 #include "third_party/WebKit/public/web/WebFindOptions.h"
52 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" 53 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h"
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 // ScopedPageLoadDeferrer is on the stack for SwapOut. 942 // ScopedPageLoadDeferrer is on the stack for SwapOut.
942 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) 943 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs)
943 944
944 // Tells the frame to consider itself to have received a user gesture (based 945 // Tells the frame to consider itself to have received a user gesture (based
945 // on a user gesture processed in a different process). 946 // on a user gesture processed in a different process).
946 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture) 947 IPC_MESSAGE_ROUTED0(FrameMsg_SetHasReceivedUserGesture)
947 948
948 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse, 949 IPC_MESSAGE_ROUTED1(FrameMsg_RunFileChooserResponse,
949 std::vector<content::FileChooserFileInfo>) 950 std::vector<content::FileChooserFileInfo>)
950 951
952 // Updates the renderer with a list of unique blink::UseCounter::Feature values
953 // representing Blink features used, performed or encountered by the browser
954 // during the current page load happening on the frame.
955 IPC_MESSAGE_ROUTED1(FrameMsg_BlinkFeatureUsageReport,
956 std::set<int>) /* features */
957
958 // Informs the renderer that mixed content was found by the browser. The
959 // included data is used for instance to report to the CSP policy and to log to
960 // the frame console.
961 IPC_MESSAGE_ROUTED5(FrameMsg_MixedContentFound,
962 GURL, /* main_resource_url */
963 GURL, /* mixed_content_url */
964 content::RequestContextType, /* request_context_type */
965 bool, /* was_allowed */
966 bool) /* had_redirect */
967
951 // ----------------------------------------------------------------------------- 968 // -----------------------------------------------------------------------------
952 // Messages sent from the renderer to the browser. 969 // Messages sent from the renderer to the browser.
953 970
954 // Blink and JavaScript error messages to log to the console 971 // Blink and JavaScript error messages to log to the console
955 // or debugger UI. 972 // or debugger UI.
956 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole, 973 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole,
957 int32_t, /* log level */ 974 int32_t, /* log level */
958 base::string16, /* msg */ 975 base::string16, /* msg */
959 int32_t, /* line number */ 976 int32_t, /* line number */
960 base::string16 /* source id */) 977 base::string16 /* source id */)
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 // nearest find result in the sending frame. 1590 // nearest find result in the sending frame.
1574 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1591 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1575 int /* nfr_request_id */, 1592 int /* nfr_request_id */,
1576 float /* distance */) 1593 float /* distance */)
1577 #endif 1594 #endif
1578 1595
1579 // Adding a new message? Stick to the sort order above: first platform 1596 // Adding a new message? Stick to the sort order above: first platform
1580 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1597 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1581 // platform independent FrameHostMsg, then ifdefs for platform specific 1598 // platform independent FrameHostMsg, then ifdefs for platform specific
1582 // FrameHostMsg. 1599 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/origin_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698