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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.h

Issue 1957783002: Replicate Content-Security-Policy into remote frame proxies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR feedback from dcheng@. Created 4 years, 7 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 void didNotAllowPlugins() override; 148 void didNotAllowPlugins() override;
149 void didUseKeygen() override; 149 void didUseKeygen() override;
150 150
151 WebCookieJar* cookieJar() const override; 151 WebCookieJar* cookieJar() const override;
152 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*, LocalFrame* sourceFrame) const override; 152 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*, LocalFrame* sourceFrame) const override;
153 void frameFocused() const override; 153 void frameFocused() const override;
154 void didChangeName(const String& name, const String& uniqueName) override; 154 void didChangeName(const String& name, const String& uniqueName) override;
155 void didEnforceStrictMixedContentChecking() override; 155 void didEnforceStrictMixedContentChecking() override;
156 void didUpdateToUniqueOrigin() override; 156 void didUpdateToUniqueOrigin() override;
157 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override; 157 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override;
158 void didAddContentSecurityPolicy(const String& headerValue, ContentSecurityP olicyHeaderType, ContentSecurityPolicyHeaderSource) override;
158 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) override; 159 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) override;
159 160
160 void dispatchWillOpenWebSocket(WebSocketHandle*) override; 161 void dispatchWillOpenWebSocket(WebSocketHandle*) override;
161 162
162 void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) override; 163 void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) override;
163 164
164 bool allowWebGL(bool enabledPerSettings) override; 165 bool allowWebGL(bool enabledPerSettings) override;
165 166
166 void dispatchWillInsertBody() override; 167 void dispatchWillInsertBody() override;
167 168
(...skipping 26 matching lines...) Expand all
194 Member<WebLocalFrameImpl> m_webFrame; 195 Member<WebLocalFrameImpl> m_webFrame;
195 196
196 String m_userAgent; 197 String m_userAgent;
197 }; 198 };
198 199
199 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 200 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
200 201
201 } // namespace blink 202 } // namespace blink
202 203
203 #endif 204 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/AssertMatchingEnums.cpp ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698