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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1685003002: Plumb the correct owner document through DocumentInit::m_owner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trim thingie Created 4 years, 10 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; } 853 bool hasAnnotatedRegions () const { return m_hasAnnotatedRegions; }
854 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; } 854 void setHasAnnotatedRegions(bool f) { m_hasAnnotatedRegions = f; }
855 const Vector<AnnotatedRegionValue>& annotatedRegions() const; 855 const Vector<AnnotatedRegionValue>& annotatedRegions() const;
856 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); 856 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&);
857 857
858 void removeAllEventListeners() final; 858 void removeAllEventListeners() final;
859 859
860 const SVGDocumentExtensions* svgExtensions(); 860 const SVGDocumentExtensions* svgExtensions();
861 SVGDocumentExtensions& accessSVGExtensions(); 861 SVGDocumentExtensions& accessSVGExtensions();
862 862
863 void initSecurityContext();
864 void initSecurityContext(const DocumentInit&); 863 void initSecurityContext(const DocumentInit&);
865 void initContentSecurityPolicy(PassRefPtrWillBeRawPtr<ContentSecurityPolicy> = nullptr); 864 void initContentSecurityPolicy(PassRefPtrWillBeRawPtr<ContentSecurityPolicy> = nullptr);
866 865
867 bool allowInlineEventHandlers(Node*, EventListener*, const String& contextUR L, const WTF::OrdinalNumber& contextLine); 866 bool allowInlineEventHandlers(Node*, EventListener*, const String& contextUR L, const WTF::OrdinalNumber& contextLine);
868 bool allowExecutingScripts(Node*); 867 bool allowExecutingScripts(Node*);
869 868
870 void statePopped(PassRefPtr<SerializedScriptValue>); 869 void statePopped(PassRefPtr<SerializedScriptValue>);
871 870
872 enum LoadEventProgress { 871 enum LoadEventProgress {
873 LoadEventNotRun, 872 LoadEventNotRun,
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1447 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1446 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1448 1447
1449 } // namespace blink 1448 } // namespace blink
1450 1449
1451 #ifndef NDEBUG 1450 #ifndef NDEBUG
1452 // Outside the WebCore namespace for ease of invocation from gdb. 1451 // Outside the WebCore namespace for ease of invocation from gdb.
1453 CORE_EXPORT void showLiveDocumentInstances(); 1452 CORE_EXPORT void showLiveDocumentInstances();
1454 #endif 1453 #endif
1455 1454
1456 #endif // Document_h 1455 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698