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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 2557063002: Upgrade Insecure Requests: bugfixes, tests, and support for OOPIF.
Patch Set: Addressed comments (@nasko #2). Created 4 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 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 virtual void didNotAllowPlugins() {} 264 virtual void didNotAllowPlugins() {}
265 265
266 // This callback notifies the client that the frame created a Keygen element. 266 // This callback notifies the client that the frame created a Keygen element.
267 virtual void didUseKeygen() {} 267 virtual void didUseKeygen() {}
268 268
269 virtual WebCookieJar* cookieJar() const = 0; 269 virtual WebCookieJar* cookieJar() const = 0;
270 270
271 virtual void didChangeName(const String& name, const String& uniqueName) {} 271 virtual void didChangeName(const String& name, const String& uniqueName) {}
272 272
273 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {} 273 virtual void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) {}
274 virtual void didEnforceInsecureNavigationsSet(const std::vector<unsigned>&) {}
274 275
275 virtual void didUpdateToUniqueOrigin() {} 276 virtual void didUpdateToUniqueOrigin() {}
276 277
277 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {} 278 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {}
278 279
279 virtual void didSetFeaturePolicyHeader( 280 virtual void didSetFeaturePolicyHeader(
280 const WebParsedFeaturePolicy& parsedHeader) {} 281 const WebParsedFeaturePolicy& parsedHeader) {}
281 282
282 // Called when a new Content Security Policy is added to the frame's document. 283 // Called when a new Content Security Policy is added to the frame's document.
283 // This can be triggered by handling of HTTP headers, handling of <meta> 284 // This can be triggered by handling of HTTP headers, handling of <meta>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 } 341 }
341 342
342 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is 343 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is
343 // returned if the URL is not overriden. 344 // returned if the URL is not overriden.
344 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 345 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
345 }; 346 };
346 347
347 } // namespace blink 348 } // namespace blink
348 349
349 #endif // FrameLoaderClient_h 350 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698