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

Unified Diff: content/common/frame_replication_state.h

Issue 2625773002: Reenable framebusting (Closed)
Patch Set: Pass through FrameReplicationState Created 3 years, 11 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 | « content/common/frame_messages.h ('k') | content/common/frame_replication_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_replication_state.h
diff --git a/content/common/frame_replication_state.h b/content/common/frame_replication_state.h
index 6fb755f758e540ffcaff2719bc5a1b759611bb70..1571c75eb372abc77f045edf0e35eb0c5f150aa7 100644
--- a/content/common/frame_replication_state.h
+++ b/content/common/frame_replication_state.h
@@ -44,7 +44,8 @@ struct CONTENT_EXPORT FrameReplicationState {
const std::string& unique_name,
blink::WebSandboxFlags sandbox_flags,
blink::WebInsecureRequestPolicy insecure_request_policy,
- bool has_potentially_trustworthy_unique_origin);
+ bool has_potentially_trustworthy_unique_origin,
+ bool has_received_user_gesture);
FrameReplicationState(const FrameReplicationState& other);
~FrameReplicationState();
@@ -123,6 +124,9 @@ struct CONTENT_EXPORT FrameReplicationState {
// True if a frame's origin is unique and should be considered potentially
// trustworthy.
bool has_potentially_trustworthy_unique_origin;
+
+ // Whether the frame has ever received a user gesture anywhere.
+ bool has_received_user_gesture;
};
} // namespace content
« no previous file with comments | « content/common/frame_messages.h ('k') | content/common/frame_replication_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698