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

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

Issue 838903002: Replicate sandbox flags for OOPIF (Blink part 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@iframe-sandbox-flags-part1
Patch Set: Remove old createLocalChild Created 5 years, 11 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 virtual void didAccessInitialDocument() override; 109 virtual void didAccessInitialDocument() override;
110 virtual void didDisplayInsecureContent() override; 110 virtual void didDisplayInsecureContent() override;
111 virtual void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) override; 111 virtual void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) override;
112 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) override; 112 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) override;
113 virtual void didDispatchPingLoader(const KURL&) override; 113 virtual void didDispatchPingLoader(const KURL&) override;
114 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) override; 114 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) override;
115 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const R esourceRequest&, const SubstituteData&) override; 115 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const R esourceRequest&, const SubstituteData&) override;
116 virtual WTF::String userAgent(const KURL&) override; 116 virtual WTF::String userAgent(const KURL&) override;
117 virtual WTF::String doNotTrackValue() override; 117 virtual WTF::String doNotTrackValue() override;
118 virtual void transitionToCommittedForNewPage() override; 118 virtual void transitionToCommittedForNewPage() override;
119 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const WT F::AtomicString& name, HTMLFrameOwnerElement*, ContentSecurityPolicyDisposition) override; 119 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const WT F::AtomicString& name, HTMLFrameOwnerElement*, ContentSecurityPolicyDisposition, SandboxFlags) override;
120 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 120 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
121 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder( 121 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(
122 Document&, const KURL&, 122 Document&, const KURL&,
123 const Vector<String>& paramNames, const Vector<String>& paramValues, 123 const Vector<String>& paramNames, const Vector<String>& paramValues,
124 const String& mimeType, bool loadManually) override; 124 const String& mimeType, bool loadManually) override;
125 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin( 125 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(
126 HTMLPlugInElement*, const KURL&, 126 HTMLPlugInElement*, const KURL&,
127 const Vector<WTF::String>&, const Vector<WTF::String>&, 127 const Vector<WTF::String>&, const Vector<WTF::String>&,
128 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; 128 const WTF::String&, bool loadManually, DetachedPluginPolicy) override;
129 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( 129 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // The WebFrame that owns this object and manages its lifetime. Therefore, 182 // The WebFrame that owns this object and manages its lifetime. Therefore,
183 // the web frame object is guaranteed to exist. 183 // the web frame object is guaranteed to exist.
184 WebLocalFrameImpl* m_webFrame; 184 WebLocalFrameImpl* m_webFrame;
185 }; 185 };
186 186
187 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 187 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
188 188
189 } // namespace blink 189 } // namespace blink
190 190
191 #endif 191 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698