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

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 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 void addListenerType(ListenerType listenerType) { m_listenerTypes |= listene rType; } 1105 void addListenerType(ListenerType listenerType) { m_listenerTypes |= listene rType; }
1106 void addMutationEventListenerTypeIfEnabled(ListenerType); 1106 void addMutationEventListenerTypeIfEnabled(ListenerType);
1107 1107
1108 void didAssociateFormControlsTimerFired(Timer<Document>*); 1108 void didAssociateFormControlsTimerFired(Timer<Document>*);
1109 void styleResolverThrowawayTimerFired(Timer<Document>*); 1109 void styleResolverThrowawayTimerFired(Timer<Document>*);
1110 1110
1111 void processHttpEquivDefaultStyle(const String& content); 1111 void processHttpEquivDefaultStyle(const String& content);
1112 void processHttpEquivRefresh(const String& content); 1112 void processHttpEquivRefresh(const String& content);
1113 void processHttpEquivSetCookie(const String& content); 1113 void processHttpEquivSetCookie(const String& content);
1114 void processHttpEquivXFrameOptions(const String& content); 1114 void processHttpEquivXFrameOptions(const String& content);
1115 void processHttpEquivContentSecurityPolicy(const String& equiv, const String & content);
1115 1116
1116 Timer<Document> m_styleResolverThrowawayTimer; 1117 Timer<Document> m_styleResolverThrowawayTimer;
1117 double m_lastStyleResolverAccessTime; 1118 double m_lastStyleResolverAccessTime;
1118 1119
1119 OwnPtr<StyleResolver> m_styleResolver; 1120 OwnPtr<StyleResolver> m_styleResolver;
1120 bool m_didCalculateStyleResolver; 1121 bool m_didCalculateStyleResolver;
1121 bool m_hasNodesWithPlaceholderStyle; 1122 bool m_hasNodesWithPlaceholderStyle;
1122 bool m_needsNotifyRemoveAllPendingStylesheet; 1123 bool m_needsNotifyRemoveAllPendingStylesheet;
1123 // But sometimes you need to ignore pending stylesheet count to 1124 // But sometimes you need to ignore pending stylesheet count to
1124 // force an immediate layout when requested by JS. 1125 // force an immediate layout when requested by JS.
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 inline bool Node::isDocumentNode() const 1398 inline bool Node::isDocumentNode() const
1398 { 1399 {
1399 return this == documentInternal(); 1400 return this == documentInternal();
1400 } 1401 }
1401 1402
1402 Node* eventTargetNodeForDocument(Document*); 1403 Node* eventTargetNodeForDocument(Document*);
1403 1404
1404 } // namespace WebCore 1405 } // namespace WebCore
1405 1406
1406 #endif // Document_h 1407 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698