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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrameClient.h

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Cleanup, reponding to review comments Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 virtual void didNotAllowPlugins() {} 267 virtual void didNotAllowPlugins() {}
268 268
269 virtual WebCookieJar* cookieJar() const = 0; 269 virtual WebCookieJar* cookieJar() const = 0;
270 270
271 virtual void didChangeName(const String&) {} 271 virtual void didChangeName(const String&) {}
272 272
273 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} 273 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {}
274 274
275 virtual void didUpdateToUniqueOrigin() {} 275 virtual void didUpdateToUniqueOrigin() {}
276 276
277 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} 277 virtual void didChangeFramePolicy(Frame* childFrame,
278 SandboxFlags,
279 const WebParsedFeaturePolicy&) {}
278 280
279 virtual void didSetFeaturePolicyHeader( 281 virtual void didSetFeaturePolicyHeader(
280 const WebParsedFeaturePolicy& parsedHeader) {} 282 const WebParsedFeaturePolicy& parsedHeader) {}
281 283
282 // Called when a set of new Content Security Policies is added to the frame's 284 // Called when a set of new Content Security Policies is added to the frame's
283 // document. This can be triggered by handling of HTTP headers, handling of 285 // document. This can be triggered by handling of HTTP headers, handling of
284 // <meta> element, or by inheriting CSP from the parent (in case of 286 // <meta> element, or by inheriting CSP from the parent (in case of
285 // about:blank). 287 // about:blank).
286 virtual void didAddContentSecurityPolicies( 288 virtual void didAddContentSecurityPolicies(
287 const blink::WebVector<WebContentSecurityPolicy>&) {} 289 const blink::WebVector<WebContentSecurityPolicy>&) {}
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 virtual BlameContext* frameBlameContext() { return nullptr; } 344 virtual BlameContext* frameBlameContext() { return nullptr; }
343 345
344 virtual void setHasReceivedUserGesture() {} 346 virtual void setHasReceivedUserGesture() {}
345 347
346 virtual void abortClientNavigation() {} 348 virtual void abortClientNavigation() {}
347 }; 349 };
348 350
349 } // namespace blink 351 } // namespace blink
350 352
351 #endif // LocalFrameClient_h 353 #endif // LocalFrameClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698