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: 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: Removing flag from features.gypi 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
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 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 IntSize viewportSize() const; 1092 IntSize viewportSize() const;
1093 1093
1094 #if ENABLE(CSS_DEVICE_ADAPTATION) 1094 #if ENABLE(CSS_DEVICE_ADAPTATION)
1095 IntSize initialViewportSize() const; 1095 IntSize initialViewportSize() const;
1096 #endif 1096 #endif
1097 1097
1098 Prerenderer* prerenderer() { return m_prerenderer.get(); } 1098 Prerenderer* prerenderer() { return m_prerenderer.get(); }
1099 1099
1100 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); } 1100 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); }
1101 1101
1102 #if ENABLE(CUSTOM_ELEMENTS)
1103 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&); 1102 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&);
1104 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); 1103 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&);
1105 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&); 1104 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&);
1106 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&); 1105 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
1107 CustomElementRegistry* registry() const { return m_registry.get(); } 1106 CustomElementRegistry* registry() const { return m_registry.get(); }
1108 void didCreateCustomElement(Element*, CustomElementConstructor*); 1107 void didCreateCustomElement(Element*, CustomElementConstructor*);
1109 #endif
1110 1108
1111 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje ct*); 1109 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje ct*);
1112 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*); 1110 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*);
1113 1111
1114 bool hasActiveParser(); 1112 bool hasActiveParser();
1115 unsigned activeParserCount() { return m_activeParserCount; } 1113 unsigned activeParserCount() { return m_activeParserCount; }
1116 void incrementActiveParserCount() { ++m_activeParserCount; } 1114 void incrementActiveParserCount() { ++m_activeParserCount; }
1117 void decrementActiveParserCount(); 1115 void decrementActiveParserCount();
1118 1116
1119 void setContextFeatures(PassRefPtr<ContextFeatures>); 1117 void setContextFeatures(PassRefPtr<ContextFeatures>);
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1467 1465
1468 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; 1466 RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
1469 1467
1470 Timer<Document> m_pendingTasksTimer; 1468 Timer<Document> m_pendingTasksTimer;
1471 Vector<OwnPtr<Task> > m_pendingTasks; 1469 Vector<OwnPtr<Task> > m_pendingTasks;
1472 1470
1473 OwnPtr<Prerenderer> m_prerenderer; 1471 OwnPtr<Prerenderer> m_prerenderer;
1474 1472
1475 OwnPtr<TextAutosizer> m_textAutosizer; 1473 OwnPtr<TextAutosizer> m_textAutosizer;
1476 1474
1477 #if ENABLE(CUSTOM_ELEMENTS)
1478 RefPtr<CustomElementRegistry> m_registry; 1475 RefPtr<CustomElementRegistry> m_registry;
1479 #endif
1480 1476
1481 bool m_scheduledTasksAreSuspended; 1477 bool m_scheduledTasksAreSuspended;
1482 1478
1483 RefPtr<NamedFlowCollection> m_namedFlows; 1479 RefPtr<NamedFlowCollection> m_namedFlows;
1484 1480
1485 RefPtr<DOMSecurityPolicy> m_domSecurityPolicy; 1481 RefPtr<DOMSecurityPolicy> m_domSecurityPolicy;
1486 1482
1487 void sharedObjectPoolClearTimerFired(Timer<Document>*); 1483 void sharedObjectPoolClearTimerFired(Timer<Document>*);
1488 Timer<Document> m_sharedObjectPoolClearTimer; 1484 Timer<Document> m_sharedObjectPoolClearTimer;
1489 1485
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 trackForDebugging(); 1569 trackForDebugging();
1574 #endif 1570 #endif
1575 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1571 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1576 } 1572 }
1577 1573
1578 Node* eventTargetNodeForDocument(Document*); 1574 Node* eventTargetNodeForDocument(Document*);
1579 1575
1580 } // namespace WebCore 1576 } // namespace WebCore
1581 1577
1582 #endif // Document_h 1578 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698