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

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

Issue 180523003: Move ContentSecurityPolicy to core/frame/csp (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2011, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 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) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 #include "core/editing/SpellChecker.h" 102 #include "core/editing/SpellChecker.h"
103 #include "core/events/BeforeUnloadEvent.h" 103 #include "core/events/BeforeUnloadEvent.h"
104 #include "core/events/Event.h" 104 #include "core/events/Event.h"
105 #include "core/events/EventFactory.h" 105 #include "core/events/EventFactory.h"
106 #include "core/events/EventListener.h" 106 #include "core/events/EventListener.h"
107 #include "core/events/HashChangeEvent.h" 107 #include "core/events/HashChangeEvent.h"
108 #include "core/events/PageTransitionEvent.h" 108 #include "core/events/PageTransitionEvent.h"
109 #include "core/events/ScopedEventQueue.h" 109 #include "core/events/ScopedEventQueue.h"
110 #include "core/events/ThreadLocalEventNames.h" 110 #include "core/events/ThreadLocalEventNames.h"
111 #include "core/fetch/ResourceFetcher.h" 111 #include "core/fetch/ResourceFetcher.h"
112 #include "core/frame/ContentSecurityPolicy.h"
113 #include "core/frame/DOMWindow.h" 112 #include "core/frame/DOMWindow.h"
114 #include "core/frame/FrameHost.h" 113 #include "core/frame/FrameHost.h"
115 #include "core/frame/FrameView.h" 114 #include "core/frame/FrameView.h"
116 #include "core/frame/History.h" 115 #include "core/frame/History.h"
117 #include "core/frame/LocalFrame.h" 116 #include "core/frame/LocalFrame.h"
118 #include "core/frame/PageConsole.h" 117 #include "core/frame/PageConsole.h"
119 #include "core/frame/Settings.h" 118 #include "core/frame/Settings.h"
119 #include "core/frame/csp/ContentSecurityPolicy.h"
120 #include "core/html/HTMLAllCollection.h" 120 #include "core/html/HTMLAllCollection.h"
121 #include "core/html/HTMLAnchorElement.h" 121 #include "core/html/HTMLAnchorElement.h"
122 #include "core/html/HTMLCanvasElement.h" 122 #include "core/html/HTMLCanvasElement.h"
123 #include "core/html/HTMLCollection.h" 123 #include "core/html/HTMLCollection.h"
124 #include "core/html/HTMLDialogElement.h" 124 #include "core/html/HTMLDialogElement.h"
125 #include "core/html/HTMLDocument.h" 125 #include "core/html/HTMLDocument.h"
126 #include "core/html/HTMLFrameOwnerElement.h" 126 #include "core/html/HTMLFrameOwnerElement.h"
127 #include "core/html/HTMLHeadElement.h" 127 #include "core/html/HTMLHeadElement.h"
128 #include "core/html/HTMLIFrameElement.h" 128 #include "core/html/HTMLIFrameElement.h"
129 #include "core/html/HTMLInputElement.h" 129 #include "core/html/HTMLInputElement.h"
(...skipping 5366 matching lines...) Expand 10 before | Expand all | Expand 10 after
5496 } 5496 }
5497 5497
5498 void Document::invalidateNodeListCaches(const QualifiedName* attrName) 5498 void Document::invalidateNodeListCaches(const QualifiedName* attrName)
5499 { 5499 {
5500 HashSet<LiveNodeListBase*>::iterator end = m_listsInvalidatedAtDocument.end( ); 5500 HashSet<LiveNodeListBase*>::iterator end = m_listsInvalidatedAtDocument.end( );
5501 for (HashSet<LiveNodeListBase*>::iterator it = m_listsInvalidatedAtDocument. begin(); it != end; ++it) 5501 for (HashSet<LiveNodeListBase*>::iterator it = m_listsInvalidatedAtDocument. begin(); it != end; ++it)
5502 (*it)->invalidateCache(attrName); 5502 (*it)->invalidateCache(attrName);
5503 } 5503 }
5504 5504
5505 } // namespace WebCore 5505 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698