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

Unified Diff: third_party/WebKit/public/web/WebLocalFrame.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebLocalFrame.h
diff --git a/third_party/WebKit/public/web/WebLocalFrame.h b/third_party/WebKit/public/web/WebLocalFrame.h
index 31919e7d86acd39f19a9f51d9be18175eac62761..7f51aa1d49449953e6a18a00f4001a19ff8fb31b 100644
--- a/third_party/WebKit/public/web/WebLocalFrame.h
+++ b/third_party/WebKit/public/web/WebLocalFrame.h
@@ -5,12 +5,14 @@
#ifndef WebLocalFrame_h
#define WebLocalFrame_h
+#include <set>
#include "WebCompositionUnderline.h"
#include "WebFrame.h"
#include "WebFrameLoadType.h"
#include "WebHistoryItem.h"
#include "public/platform/WebCachePolicy.h"
#include "public/platform/WebURLError.h"
+#include "public/platform/WebURLRequest.h"
#include "public/platform/site_engagement.mojom-shared.h"
namespace base {
@@ -177,6 +179,21 @@ class WebLocalFrame : public WebFrame {
// one of its descendants having processed a user gesture.
virtual void setHasReceivedUserGesture() = 0;
+ // Reports a list of unique blink::UseCounter::Feature values representing
+ // Blink features used, performed or encountered by the browser during the
+ // current page load happening on the frame.
+ virtual void blinkFeatureUsageReport(const std::set<int>& features) = 0;
+
+ // Informs the renderer that mixed content was found externally regarding this
+ // frame. Currently only the the browser process can do so. The included data
+ // is used for instance to report to the CSP policy and to log to the frame
+ // console.
+ virtual void mixedContentFound(const WebURL& mainResourceUrl,
+ const WebURL& mixedContentUrl,
+ WebURLRequest::RequestContext,
+ bool wasAllowed,
+ bool hadRedirect) = 0;
+
// Orientation Changes ----------------------------------------------------
// Notify the frame that the screen orientation has changed.
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698