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

Unified Diff: content/common/frame_messages.h

Issue 1489253002: Plumb document's strict mixed content checking for RemoteFrames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix transition type for test crashes Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 72d675141671f3b92c3f4cb8d3a5ed4c11adafbc..6c6f8d983bfac0899b59ff67a64a1caa86c0ba39 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -248,6 +248,10 @@ IPC_STRUCT_BEGIN_WITH_PARENT(FrameHostMsg_DidCommitProvisionalLoad_Params,
// Timestamp at which the UI action that triggered the navigation originated.
IPC_STRUCT_MEMBER(base::TimeTicks, ui_timestamp)
+
+ // True if the document for the load is enforcing strict mixed content
+ // checking.
+ IPC_STRUCT_MEMBER(bool, should_enforce_strict_mixed_content_checking)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(FrameMsg_PostMessage_Params)
@@ -659,6 +663,12 @@ IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags)
// changed in another process.
IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateName, std::string /* name */)
+// Update a proxy's replicated enforcement of strict mixed content
+// checking. Used when the frame's mixed content setting is changed in
+// another process.
+IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateShouldEnforceStrictMixedContentChecking,
+ bool /* should enforce */)
+
// Update a proxy's replicated origin. Used when the frame is navigated to a
// new origin.
IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateOrigin, url::Origin /* origin */)
@@ -816,6 +826,9 @@ IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */)
// Sent when the frame changes its window.name.
IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeName, std::string /* name */)
+// Sent when the frame starts enforcing strict mixed content checking.
+IPC_MESSAGE_ROUTED0(FrameHostMsg_DidEnforceStrictMixedContentChecking)
+
// Sent when the renderer changed the progress of a load.
IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress,
double /* load_progress */)

Powered by Google App Engine
This is Rietveld 408576698