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

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

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Addressing 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 virtual void DidUpdateCurrentHistoryItem() {} 237 virtual void DidUpdateCurrentHistoryItem() {}
238 238
239 virtual WebCookieJar* CookieJar() const = 0; 239 virtual WebCookieJar* CookieJar() const = 0;
240 240
241 virtual void DidChangeName(const String&) {} 241 virtual void DidChangeName(const String&) {}
242 242
243 virtual void DidEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} 243 virtual void DidEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {}
244 244
245 virtual void DidUpdateToUniqueOrigin() {} 245 virtual void DidUpdateToUniqueOrigin() {}
246 246
247 virtual void DidChangeSandboxFlags(Frame* child_frame, SandboxFlags) {} 247 virtual void DidChangeFramePolicy(Frame* child_frame,
248 SandboxFlags,
249 const WebParsedFeaturePolicy&) {}
248 250
249 virtual void DidSetFeaturePolicyHeader( 251 virtual void DidSetFeaturePolicyHeader(
250 const WebParsedFeaturePolicy& parsed_header) {} 252 const WebParsedFeaturePolicy& parsed_header) {}
251 253
252 // Called when a set of new Content Security Policies is added to the frame's 254 // Called when a set of new Content Security Policies is added to the frame's
253 // document. This can be triggered by handling of HTTP headers, handling of 255 // document. This can be triggered by handling of HTTP headers, handling of
254 // <meta> element, or by inheriting CSP from the parent (in case of 256 // <meta> element, or by inheriting CSP from the parent (in case of
255 // about:blank). 257 // about:blank).
256 virtual void DidAddContentSecurityPolicies( 258 virtual void DidAddContentSecurityPolicies(
257 const blink::WebVector<WebContentSecurityPolicy>&) {} 259 const blink::WebVector<WebContentSecurityPolicy>&) {}
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 virtual void SetHasReceivedUserGesture(bool received_previously) {} 318 virtual void SetHasReceivedUserGesture(bool received_previously) {}
317 319
318 virtual void AbortClientNavigation() {} 320 virtual void AbortClientNavigation() {}
319 321
320 virtual TextCheckerClient& GetTextCheckerClient() const = 0; 322 virtual TextCheckerClient& GetTextCheckerClient() const = 0;
321 }; 323 };
322 324
323 } // namespace blink 325 } // namespace blink
324 326
325 #endif // LocalFrameClient_h 327 #endif // LocalFrameClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameOwner.h ('k') | third_party/WebKit/Source/core/html/HTMLFrameElementBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698