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

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

Issue 2547843002: Refactor setImportsController() to clarify invariants (Closed)
Patch Set: Rebase 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.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, 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 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 ScriptState*, 1147 ScriptState*,
1148 const AtomicString& name, 1148 const AtomicString& name,
1149 const ElementRegistrationOptions&, 1149 const ElementRegistrationOptions&,
1150 ExceptionState&, 1150 ExceptionState&,
1151 V0CustomElement::NameSet validNames = V0CustomElement::StandardNames); 1151 V0CustomElement::NameSet validNames = V0CustomElement::StandardNames);
1152 V0CustomElementRegistrationContext* registrationContext() { 1152 V0CustomElementRegistrationContext* registrationContext() {
1153 return m_registrationContext.get(); 1153 return m_registrationContext.get();
1154 } 1154 }
1155 V0CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue(); 1155 V0CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue();
1156 1156
1157 void setImportsController(HTMLImportsController*); 1157 void clearImportsController();
1158 void createImportsController();
1158 HTMLImportsController* importsController() const { 1159 HTMLImportsController* importsController() const {
1159 return m_importsController; 1160 return m_importsController;
1160 } 1161 }
1161 HTMLImportLoader* importLoader() const; 1162 HTMLImportLoader* importLoader() const;
1162 1163
1163 bool haveImportsLoaded() const; 1164 bool haveImportsLoaded() const;
1164 void didLoadAllImports(); 1165 void didLoadAllImports();
1165 1166
1166 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, 1167 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&,
1167 LayoutObject&); 1168 LayoutObject&);
(...skipping 549 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698