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

Side by Side Diff: Source/core/loader/FrameLoaderClient.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) 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector<String>& removedSelectors) = 0; 136 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector<String>& removedSelectors) = 0;
137 137
138 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) = 0; 138 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) = 0;
139 139
140 virtual String userAgent(const KURL&) = 0; 140 virtual String userAgent(const KURL&) = 0;
141 141
142 virtual String doNotTrackValue() = 0; 142 virtual String doNotTrackValue() = 0;
143 143
144 virtual void transitionToCommittedForNewPage() = 0; 144 virtual void transitionToCommittedForNewPage() = 0;
145 145
146 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, cons t AtomicString& name, HTMLFrameOwnerElement*, ContentSecurityPolicyDisposition s houldCheckContentSecurityPolicy) = 0; 146 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, cons t AtomicString& name, HTMLFrameOwnerElement*, ContentSecurityPolicyDisposition s houldCheckContentSecurityPolicy, SandboxFlags) = 0;
147 // Whether or not plugin creation should fail if the HTMLPlugInElement i sn't in the DOM after plugin initialization. 147 // Whether or not plugin creation should fail if the HTMLPlugInElement i sn't in the DOM after plugin initialization.
148 enum DetachedPluginPolicy { 148 enum DetachedPluginPolicy {
149 FailOnDetachedPlugin, 149 FailOnDetachedPlugin,
150 AllowDetachedPlugin, 150 AllowDetachedPlugin,
151 }; 151 };
152 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons t = 0; 152 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) cons t = 0;
153 153
154 // Called before plugin creation in order to ask the embedder whether a 154 // Called before plugin creation in order to ask the embedder whether a
155 // placeholder should be substituted instead. 155 // placeholder should be substituted instead.
156 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholde r(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String> & paramValues, const String& mimeType, bool loadManually) = 0; 156 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholde r(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String> & paramValues, const String& mimeType, bool loadManually) = 0;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 virtual void dispatchDidChangeManifest() { } 225 virtual void dispatchDidChangeManifest() { }
226 226
227 virtual unsigned backForwardLength() { return 0; } 227 virtual unsigned backForwardLength() { return 0; }
228 228
229 virtual bool isFrameLoaderClientImpl() const { return false; } 229 virtual bool isFrameLoaderClientImpl() const { return false; }
230 }; 230 };
231 231
232 } // namespace blink 232 } // namespace blink
233 233
234 #endif // FrameLoaderClient_h 234 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698