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

Side by Side Diff: Source/core/loader/EmptyClients.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 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 virtual String doNotTrackValue() override { return String(); } 216 virtual String doNotTrackValue() override { return String(); }
217 217
218 virtual void transitionToCommittedForNewPage() override { } 218 virtual void transitionToCommittedForNewPage() override { }
219 219
220 virtual bool navigateBackForward(int offset) const override { return false; } 220 virtual bool navigateBackForward(int offset) const override { return false; }
221 virtual void didDisplayInsecureContent() override { } 221 virtual void didDisplayInsecureContent() override { }
222 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) override { } 222 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) override { }
223 virtual void didDetectXSS(const KURL&, bool) override { } 223 virtual void didDetectXSS(const KURL&, bool) override { }
224 virtual void didDispatchPingLoader(const KURL&) override { } 224 virtual void didDispatchPingLoader(const KURL&) override { }
225 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String >&) override { } 225 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String >&) override { }
226 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const At omicString&, HTMLFrameOwnerElement*, ContentSecurityPolicyDisposition) override; 226 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const At omicString&, HTMLFrameOwnerElement*, ContentSecurityPolicyDisposition, SandboxFl ags) override;
227 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Do cument&, const KURL&, const Vector<String>& paramNames, const Vector<String>& pa ramValues, const String& mimeType, bool loadManually) override; 227 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Do cument&, const KURL&, const Vector<String>& paramNames, const Vector<String>& pa ramValues, const String& mimeType, bool loadManually) override;
228 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, Deta chedPluginPolicy) override; 228 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, Deta chedPluginPolicy) override;
229 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const ov erride { return false; } 229 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const ov erride { return false; }
230 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElem ent*, const KURL&, const Vector<String>&, const Vector<String>&) override; 230 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElem ent*, const KURL&, const Vector<String>&, const Vector<String>&) override;
231 231
232 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) override { return ObjectContentType(); } 232 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) override { return ObjectContentType(); }
233 233
234 virtual void didCreateNewDocument() override { } 234 virtual void didCreateNewDocument() override { }
235 virtual void dispatchDidClearWindowObjectInMainWorld() override { } 235 virtual void dispatchDidClearWindowObjectInMainWorld() override { }
236 virtual void documentElementAvailable() override { } 236 virtual void documentElementAvailable() override { }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 public: 327 public:
328 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid e; 328 virtual PassOwnPtr<StorageNamespace> createSessionStorageNamespace() overrid e;
329 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret urn false; } 329 virtual bool canAccessStorage(LocalFrame*, StorageType) const override { ret urn false; }
330 }; 330 };
331 331
332 void fillWithEmptyClients(Page::PageClients&); 332 void fillWithEmptyClients(Page::PageClients&);
333 333
334 } 334 }
335 335
336 #endif // EmptyClients_h 336 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698