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

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

Issue 19940002: [HTML Import] Respect Content Security Policy Model (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Mac build failure Created 7 years, 5 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 | Annotate | Revision Log
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 class Attr; 62 class Attr;
63 class CDATASection; 63 class CDATASection;
64 class CSSStyleDeclaration; 64 class CSSStyleDeclaration;
65 class CSSStyleSheet; 65 class CSSStyleSheet;
66 class CachedCSSStyleSheet; 66 class CachedCSSStyleSheet;
67 class ResourceFetcher; 67 class ResourceFetcher;
68 class CachedScript; 68 class CachedScript;
69 class CanvasRenderingContext; 69 class CanvasRenderingContext;
70 class CharacterData; 70 class CharacterData;
71 class Comment; 71 class Comment;
72 class ContentSecurityPolicyResponseHeaders;
72 class ContextFeatures; 73 class ContextFeatures;
73 class CustomElementRegistrationContext; 74 class CustomElementRegistrationContext;
74 class DOMImplementation; 75 class DOMImplementation;
75 class DOMNamedFlowCollection; 76 class DOMNamedFlowCollection;
76 class DOMSecurityPolicy; 77 class DOMSecurityPolicy;
77 class DOMSelection; 78 class DOMSelection;
78 class DOMWindow; 79 class DOMWindow;
79 class Database; 80 class Database;
80 class DatabaseThread; 81 class DatabaseThread;
81 class DocumentFragment; 82 class DocumentFragment;
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 const Vector<AnnotatedRegionValue>& annotatedRegions() const; 897 const Vector<AnnotatedRegionValue>& annotatedRegions() const;
897 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&); 898 void setAnnotatedRegions(const Vector<AnnotatedRegionValue>&);
898 899
899 virtual void removeAllEventListeners(); 900 virtual void removeAllEventListeners();
900 901
901 const SVGDocumentExtensions* svgExtensions(); 902 const SVGDocumentExtensions* svgExtensions();
902 SVGDocumentExtensions* accessSVGExtensions(); 903 SVGDocumentExtensions* accessSVGExtensions();
903 904
904 void initSecurityContext(); 905 void initSecurityContext();
905 void initSecurityContext(const DocumentInit&); 906 void initSecurityContext(const DocumentInit&);
906 void initContentSecurityPolicy(); 907 void initContentSecurityPolicy(const ContentSecurityPolicyResponseHeaders&);
907 908
908 void updateURLForPushOrReplaceState(const KURL&); 909 void updateURLForPushOrReplaceState(const KURL&);
909 void statePopped(PassRefPtr<SerializedScriptValue>); 910 void statePopped(PassRefPtr<SerializedScriptValue>);
910 911
911 bool processingLoadEvent() const { return m_processingLoadEvent; } 912 bool processingLoadEvent() const { return m_processingLoadEvent; }
912 bool loadEventFinished() const { return m_loadEventFinished; } 913 bool loadEventFinished() const { return m_loadEventFinished; }
913 914
914 virtual bool isContextThread() const; 915 virtual bool isContextThread() const;
915 virtual bool isJSExecutionForbidden() const { return false; } 916 virtual bool isJSExecutionForbidden() const { return false; }
916 917
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
1394 inline bool Node::isDocumentNode() const 1395 inline bool Node::isDocumentNode() const
1395 { 1396 {
1396 return this == documentInternal(); 1397 return this == documentInternal();
1397 } 1398 }
1398 1399
1399 Node* eventTargetNodeForDocument(Document*); 1400 Node* eventTargetNodeForDocument(Document*);
1400 1401
1401 } // namespace WebCore 1402 } // namespace WebCore
1402 1403
1403 #endif // Document_h 1404 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/htmlimports/resources/importing-cors.html ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698