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

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

Issue 1995203002: Rewrite Shadow DOM distribution engine to support partial synchronous distribution for v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip Created 4 years, 7 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 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 WebTaskRunner* loadingTaskRunner() const; 1060 WebTaskRunner* loadingTaskRunner() const;
1061 WebTaskRunner* timerTaskRunner() const; 1061 WebTaskRunner* timerTaskRunner() const;
1062 1062
1063 void enforceStrictMixedContentChecking(); 1063 void enforceStrictMixedContentChecking();
1064 1064
1065 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; } 1065 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; }
1066 1066
1067 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; } 1067 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; }
1068 void setShadowCascadeOrder(ShadowCascadeOrder); 1068 void setShadowCascadeOrder(ShadowCascadeOrder);
1069 1069
1070 bool containsV1ShadowTree() const { return m_shadowCascadeOrder == ShadowCas cadeOrder::ShadowCascadeV1; }
1071
1070 void setRootScroller(Element*, ExceptionState&); 1072 void setRootScroller(Element*, ExceptionState&);
1071 Element* rootScroller(); 1073 Element* rootScroller();
1072 1074
1073 bool isInMainFrame() const; 1075 bool isInMainFrame() const;
1074 1076
1075 protected: 1077 protected:
1076 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); 1078 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
1077 1079
1078 void didUpdateSecurityOrigin() final; 1080 void didUpdateSecurityOrigin() final;
1079 1081
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1437 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1439 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1438 1440
1439 } // namespace blink 1441 } // namespace blink
1440 1442
1441 #ifndef NDEBUG 1443 #ifndef NDEBUG
1442 // Outside the WebCore namespace for ease of invocation from gdb. 1444 // Outside the WebCore namespace for ease of invocation from gdb.
1443 CORE_EXPORT void showLiveDocumentInstances(); 1445 CORE_EXPORT void showLiveDocumentInstances();
1444 #endif 1446 #endif
1445 1447
1446 #endif // Document_h 1448 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698