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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.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: Split off the relaxed DCHECK in OnCrossSiteResponse into separate CL 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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 void didNotAllowPlugins() override; 145 void didNotAllowPlugins() override;
146 void didUseKeygen() override; 146 void didUseKeygen() override;
147 147
148 WebCookieJar* cookieJar() const override; 148 WebCookieJar* cookieJar() const override;
149 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*, LocalFrame* sourceFrame) const override; 149 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*, LocalFrame* sourceFrame) const override;
150 void frameFocused() const override; 150 void frameFocused() const override;
151 void didChangeName(const String& name, const String& uniqueName) override; 151 void didChangeName(const String& name, const String& uniqueName) override;
152 void didEnforceStrictMixedContentChecking() override; 152 void didEnforceStrictMixedContentChecking() override;
153 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override; 153 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override;
154 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) override; 154 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) override;
155 void didBlockLoad() override;
155 156
156 void dispatchWillOpenWebSocket(WebSocketHandle*) override; 157 void dispatchWillOpenWebSocket(WebSocketHandle*) override;
157 158
158 void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) override; 159 void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) override;
159 160
160 void didRequestAutocomplete(HTMLFormElement*) override; 161 void didRequestAutocomplete(HTMLFormElement*) override;
161 162
162 bool allowWebGL(bool enabledPerSettings) override; 163 bool allowWebGL(bool enabledPerSettings) override;
163 void didLoseWebGLContext(int arbRobustnessContextLostReason) override; 164 void didLoseWebGLContext(int arbRobustnessContextLostReason) override;
164 165
(...skipping 22 matching lines...) Expand all
187 // The WebFrame that owns this object and manages its lifetime. Therefore, 188 // The WebFrame that owns this object and manages its lifetime. Therefore,
188 // the web frame object is guaranteed to exist. 189 // the web frame object is guaranteed to exist.
189 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; 190 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame;
190 }; 191 };
191 192
192 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 193 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
193 194
194 } // namespace blink 195 } // namespace blink
195 196
196 #endif 197 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoaderClient.h ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698