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

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

Issue 1489253002: Plumb document's strict mixed content checking for RemoteFrames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nasko comments Created 5 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) 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; 138 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override;
139 bool allowMedia(const KURL& mediaURL) override; 139 bool allowMedia(const KURL& mediaURL) override;
140 bool allowDisplayingInsecureContent(bool enabledPerSettings, SecurityOrigin* , const KURL&) override; 140 bool allowDisplayingInsecureContent(bool enabledPerSettings, SecurityOrigin* , const KURL&) override;
141 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c onst KURL&) override; 141 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c onst KURL&) override;
142 void didNotAllowScript() override; 142 void didNotAllowScript() override;
143 void didNotAllowPlugins() override; 143 void didNotAllowPlugins() override;
144 144
145 WebCookieJar* cookieJar() const override; 145 WebCookieJar* cookieJar() const override;
146 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*, LocalFrame* sourceFrame) const override; 146 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*, LocalFrame* sourceFrame) const override;
147 void didChangeName(const String&) override; 147 void didChangeName(const String&) override;
148 void didEnforceStrictMixedContentChecking() override;
148 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override; 149 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override;
149 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) override; 150 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) override;
150 151
151 void dispatchWillOpenWebSocket(WebSocketHandle*) override; 152 void dispatchWillOpenWebSocket(WebSocketHandle*) override;
152 153
153 void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) override; 154 void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) override;
154 155
155 void didRequestAutocomplete(HTMLFormElement*) override; 156 void didRequestAutocomplete(HTMLFormElement*) override;
156 157
157 bool allowWebGL(bool enabledPerSettings) override; 158 bool allowWebGL(bool enabledPerSettings) override;
(...skipping 24 matching lines...) Expand all
182 // The WebFrame that owns this object and manages its lifetime. Therefore, 183 // The WebFrame that owns this object and manages its lifetime. Therefore,
183 // the web frame object is guaranteed to exist. 184 // the web frame object is guaranteed to exist.
184 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; 185 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame;
185 }; 186 };
186 187
187 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 188 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
188 189
189 } // namespace blink 190 } // namespace blink
190 191
191 #endif 192 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/MixedContentChecker.cpp ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698