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

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

Issue 17419007: [HTML Imports] Implement sub-imports processing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated to ToT. Created 7 years, 6 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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 1020
1021 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); } 1021 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); }
1022 1022
1023 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&); 1023 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&);
1024 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); 1024 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&);
1025 ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&); 1025 ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&);
1026 ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&); 1026 ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
1027 CustomElementRegistry* registry() const { return m_registry.get(); } 1027 CustomElementRegistry* registry() const { return m_registry.get(); }
1028 CustomElementRegistry* ensureCustomElementRegistry(); 1028 CustomElementRegistry* ensureCustomElementRegistry();
1029 1029
1030 HTMLImportsController* ensureImports(); 1030 void setImports(PassRefPtr<HTMLImportsController>);
1031 HTMLImportsController* imports() const { return m_imports.get(); } 1031 HTMLImportsController* imports() const { return m_imports.get(); }
1032 bool haveImportsLoaded() const; 1032 bool haveImportsLoaded() const;
1033 void didLoadAllImports(); 1033 void didLoadAllImports();
1034 1034
1035 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje ct*); 1035 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje ct*);
1036 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*); 1036 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*);
1037 1037
1038 bool hasActiveParser(); 1038 bool hasActiveParser();
1039 unsigned activeParserCount() { return m_activeParserCount; } 1039 unsigned activeParserCount() { return m_activeParserCount; }
1040 void incrementActiveParserCount() { ++m_activeParserCount; } 1040 void incrementActiveParserCount() { ++m_activeParserCount; }
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1364 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; 1364 RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
1365 1365
1366 Timer<Document> m_pendingTasksTimer; 1366 Timer<Document> m_pendingTasksTimer;
1367 Vector<OwnPtr<Task> > m_pendingTasks; 1367 Vector<OwnPtr<Task> > m_pendingTasks;
1368 1368
1369 OwnPtr<Prerenderer> m_prerenderer; 1369 OwnPtr<Prerenderer> m_prerenderer;
1370 1370
1371 OwnPtr<TextAutosizer> m_textAutosizer; 1371 OwnPtr<TextAutosizer> m_textAutosizer;
1372 1372
1373 RefPtr<CustomElementRegistry> m_registry; 1373 RefPtr<CustomElementRegistry> m_registry;
1374 OwnPtr<HTMLImportsController> m_imports; 1374 RefPtr<HTMLImportsController> m_imports;
1375 1375
1376 bool m_scheduledTasksAreSuspended; 1376 bool m_scheduledTasksAreSuspended;
1377 1377
1378 RefPtr<NamedFlowCollection> m_namedFlows; 1378 RefPtr<NamedFlowCollection> m_namedFlows;
1379 1379
1380 RefPtr<DOMSecurityPolicy> m_domSecurityPolicy; 1380 RefPtr<DOMSecurityPolicy> m_domSecurityPolicy;
1381 1381
1382 void sharedObjectPoolClearTimerFired(Timer<Document>*); 1382 void sharedObjectPoolClearTimerFired(Timer<Document>*);
1383 Timer<Document> m_sharedObjectPoolClearTimer; 1383 Timer<Document> m_sharedObjectPoolClearTimer;
1384 1384
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
1449 inline bool Node::isDocumentNode() const 1449 inline bool Node::isDocumentNode() const
1450 { 1450 {
1451 return this == documentInternal(); 1451 return this == documentInternal();
1452 } 1452 }
1453 1453
1454 Node* eventTargetNodeForDocument(Document*); 1454 Node* eventTargetNodeForDocument(Document*);
1455 1455
1456 } // namespace WebCore 1456 } // namespace WebCore
1457 1457
1458 #endif // Document_h 1458 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/imports/sub-imports-loop-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698