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

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

Issue 2557063002: Upgrade Insecure Requests: bugfixes, tests, and support for OOPIF.
Patch Set: Addressed comments (@nasko #2). Created 4 years 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 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1267 void incrementNodeCount() { m_nodeCount++; } 1267 void incrementNodeCount() { m_nodeCount++; }
1268 void decrementNodeCount() { 1268 void decrementNodeCount() {
1269 DCHECK_GT(m_nodeCount, 0); 1269 DCHECK_GT(m_nodeCount, 0);
1270 m_nodeCount--; 1270 m_nodeCount--;
1271 } 1271 }
1272 int nodeCount() const { return m_nodeCount; } 1272 int nodeCount() const { return m_nodeCount; }
1273 1273
1274 SnapCoordinator* snapCoordinator(); 1274 SnapCoordinator* snapCoordinator();
1275 1275
1276 void enforceInsecureRequestPolicy(WebInsecureRequestPolicy); 1276 void enforceInsecureRequestPolicy(WebInsecureRequestPolicy);
1277 void enforceInsecureNavigationsSet(const InsecureNavigationsSet&);
1277 1278
1278 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; } 1279 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; }
1279 1280
1280 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; } 1281 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; }
1281 void setShadowCascadeOrder(ShadowCascadeOrder); 1282 void setShadowCascadeOrder(ShadowCascadeOrder);
1282 1283
1283 bool containsV1ShadowTree() const { 1284 bool containsV1ShadowTree() const {
1284 return m_shadowCascadeOrder == ShadowCascadeOrder::ShadowCascadeV1; 1285 return m_shadowCascadeOrder == ShadowCascadeOrder::ShadowCascadeV1;
1285 } 1286 }
1286 1287
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1717 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1718 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1718 1719
1719 } // namespace blink 1720 } // namespace blink
1720 1721
1721 #ifndef NDEBUG 1722 #ifndef NDEBUG
1722 // Outside the WebCore namespace for ease of invocation from gdb. 1723 // Outside the WebCore namespace for ease of invocation from gdb.
1723 CORE_EXPORT void showLiveDocumentInstances(); 1724 CORE_EXPORT void showLiveDocumentInstances();
1724 #endif 1725 #endif
1725 1726
1726 #endif // Document_h 1727 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698