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

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

Issue 14083009: Remove ENABLE_CUSTOM_ELEMENTS compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebasing. Created 7 years, 8 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
« no previous file with comments | « Source/core/dom/CustomElementRegistry.cpp ('k') | 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 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 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 IntSize viewportSize() const; 1063 IntSize viewportSize() const;
1064 1064
1065 #if ENABLE(CSS_DEVICE_ADAPTATION) 1065 #if ENABLE(CSS_DEVICE_ADAPTATION)
1066 IntSize initialViewportSize() const; 1066 IntSize initialViewportSize() const;
1067 #endif 1067 #endif
1068 1068
1069 Prerenderer* prerenderer() { return m_prerenderer.get(); } 1069 Prerenderer* prerenderer() { return m_prerenderer.get(); }
1070 1070
1071 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); } 1071 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); }
1072 1072
1073 #if ENABLE(CUSTOM_ELEMENTS)
1074 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&); 1073 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&);
1075 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); 1074 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&);
1076 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&); 1075 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&);
1077 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&); 1076 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
1078 CustomElementRegistry* registry() const { return m_registry.get(); } 1077 CustomElementRegistry* registry() const { return m_registry.get(); }
1079 void didCreateCustomElement(Element*, CustomElementConstructor*); 1078 void didCreateCustomElement(Element*, CustomElementConstructor*);
1080 #endif
1081 1079
1082 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje ct*); 1080 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje ct*);
1083 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*); 1081 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*);
1084 1082
1085 bool hasActiveParser(); 1083 bool hasActiveParser();
1086 unsigned activeParserCount() { return m_activeParserCount; } 1084 unsigned activeParserCount() { return m_activeParserCount; }
1087 void incrementActiveParserCount() { ++m_activeParserCount; } 1085 void incrementActiveParserCount() { ++m_activeParserCount; }
1088 void decrementActiveParserCount(); 1086 void decrementActiveParserCount();
1089 1087
1090 void setContextFeatures(PassRefPtr<ContextFeatures>); 1088 void setContextFeatures(PassRefPtr<ContextFeatures>);
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 1426
1429 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; 1427 RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
1430 1428
1431 Timer<Document> m_pendingTasksTimer; 1429 Timer<Document> m_pendingTasksTimer;
1432 Vector<OwnPtr<Task> > m_pendingTasks; 1430 Vector<OwnPtr<Task> > m_pendingTasks;
1433 1431
1434 OwnPtr<Prerenderer> m_prerenderer; 1432 OwnPtr<Prerenderer> m_prerenderer;
1435 1433
1436 OwnPtr<TextAutosizer> m_textAutosizer; 1434 OwnPtr<TextAutosizer> m_textAutosizer;
1437 1435
1438 #if ENABLE(CUSTOM_ELEMENTS)
1439 RefPtr<CustomElementRegistry> m_registry; 1436 RefPtr<CustomElementRegistry> m_registry;
1440 #endif
1441 1437
1442 bool m_scheduledTasksAreSuspended; 1438 bool m_scheduledTasksAreSuspended;
1443 1439
1444 RefPtr<NamedFlowCollection> m_namedFlows; 1440 RefPtr<NamedFlowCollection> m_namedFlows;
1445 1441
1446 RefPtr<DOMSecurityPolicy> m_domSecurityPolicy; 1442 RefPtr<DOMSecurityPolicy> m_domSecurityPolicy;
1447 1443
1448 void sharedObjectPoolClearTimerFired(Timer<Document>*); 1444 void sharedObjectPoolClearTimerFired(Timer<Document>*);
1449 Timer<Document> m_sharedObjectPoolClearTimer; 1445 Timer<Document> m_sharedObjectPoolClearTimer;
1450 1446
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
1532 trackForDebugging(); 1528 trackForDebugging();
1533 #endif 1529 #endif
1534 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1530 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1535 } 1531 }
1536 1532
1537 Node* eventTargetNodeForDocument(Document*); 1533 Node* eventTargetNodeForDocument(Document*);
1538 1534
1539 } // namespace WebCore 1535 } // namespace WebCore
1540 1536
1541 #endif // Document_h 1537 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/dom/CustomElementRegistry.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698