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

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

Issue 1710283003: OOPIF: Handle cross-site frames being blocked by X-Frame-Options or CSP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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 reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 virtual WebCookieJar* cookieJar() const = 0; 203 virtual WebCookieJar* cookieJar() const = 0;
204 204
205 virtual void didChangeName(const String& name, const String& uniqueName) { } 205 virtual void didChangeName(const String& name, const String& uniqueName) { }
206 206
207 virtual void didEnforceStrictMixedContentChecking() {} 207 virtual void didEnforceStrictMixedContentChecking() {}
208 208
209 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) { } 209 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) { }
210 210
211 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { } 211 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { }
212 212
213 virtual void didCancelLoadAfterXFrameOptionsOrCSPDenied() { }
214
213 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { } 215 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { }
214 216
215 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) { } 217 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) { }
216 218
217 virtual void didRequestAutocomplete(HTMLFormElement*) = 0; 219 virtual void didRequestAutocomplete(HTMLFormElement*) = 0;
218 220
219 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings ; } 221 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings ; }
220 // Informs the embedder that a WebGL canvas inside this frame received a los t context 222 // Informs the embedder that a WebGL canvas inside this frame received a los t context
221 // notification with the given GL_ARB_robustness guilt/innocence code (see E xtensions3D.h). 223 // notification with the given GL_ARB_robustness guilt/innocence code (see E xtensions3D.h).
222 virtual void didLoseWebGLContext(int) { } 224 virtual void didLoseWebGLContext(int) { }
(...skipping 26 matching lines...) Expand all
249 BeforeUnloadHandler, 251 BeforeUnloadHandler,
250 UnloadHandler, 252 UnloadHandler,
251 }; 253 };
252 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 254 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
253 255
254 }; 256 };
255 257
256 } // namespace blink 258 } // namespace blink
257 259
258 #endif // FrameLoaderClient_h 260 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698