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

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

Issue 13723004: Remove the ENABLE_TEXT_AUTOSIZING compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 class SecurityOrigin; 136 class SecurityOrigin;
137 class SelectorQueryCache; 137 class SelectorQueryCache;
138 class SerializedScriptValue; 138 class SerializedScriptValue;
139 class SegmentedString; 139 class SegmentedString;
140 class Settings; 140 class Settings;
141 class StyleResolver; 141 class StyleResolver;
142 class StyleSheet; 142 class StyleSheet;
143 class StyleSheetContents; 143 class StyleSheetContents;
144 class StyleSheetList; 144 class StyleSheetList;
145 class Text; 145 class Text;
146 class TextAutosizer;
146 class TextResourceDecoder; 147 class TextResourceDecoder;
147 class TreeWalker; 148 class TreeWalker;
148 class VisitedLinkState; 149 class VisitedLinkState;
149 class WebKitNamedFlow; 150 class WebKitNamedFlow;
150 class XMLHttpRequest; 151 class XMLHttpRequest;
151 class XPathEvaluator; 152 class XPathEvaluator;
152 class XPathExpression; 153 class XPathExpression;
153 class XPathNSResolver; 154 class XPathNSResolver;
154 class XPathResult; 155 class XPathResult;
155 156
(...skipping 20 matching lines...) Expand all
176 #endif 177 #endif
177 178
178 #if ENABLE(MICRODATA) 179 #if ENABLE(MICRODATA)
179 class MicroDataItemList; 180 class MicroDataItemList;
180 #endif 181 #endif
181 182
182 #if ENABLE(LINK_PRERENDER) 183 #if ENABLE(LINK_PRERENDER)
183 class Prerenderer; 184 class Prerenderer;
184 #endif 185 #endif
185 186
186 #if ENABLE(TEXT_AUTOSIZING)
187 class TextAutosizer;
188 #endif
189
190 #if ENABLE(CSP_NEXT) 187 #if ENABLE(CSP_NEXT)
191 class DOMSecurityPolicy; 188 class DOMSecurityPolicy;
192 #endif 189 #endif
193 190
194 #if ENABLE(FONT_LOAD_EVENTS) 191 #if ENABLE(FONT_LOAD_EVENTS)
195 class FontLoader; 192 class FontLoader;
196 #endif 193 #endif
197 194
198 typedef int ExceptionCode; 195 typedef int ExceptionCode;
199 196
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after
1151 IntSize viewportSize() const; 1148 IntSize viewportSize() const;
1152 1149
1153 #if ENABLE(CSS_DEVICE_ADAPTATION) 1150 #if ENABLE(CSS_DEVICE_ADAPTATION)
1154 IntSize initialViewportSize() const; 1151 IntSize initialViewportSize() const;
1155 #endif 1152 #endif
1156 1153
1157 #if ENABLE(LINK_PRERENDER) 1154 #if ENABLE(LINK_PRERENDER)
1158 Prerenderer* prerenderer() { return m_prerenderer.get(); } 1155 Prerenderer* prerenderer() { return m_prerenderer.get(); }
1159 #endif 1156 #endif
1160 1157
1161 #if ENABLE(TEXT_AUTOSIZING)
1162 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); } 1158 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); }
1163 #endif
1164 1159
1165 #if ENABLE(CUSTOM_ELEMENTS) 1160 #if ENABLE(CUSTOM_ELEMENTS)
1166 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&); 1161 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&);
1167 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); 1162 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&);
1168 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&); 1163 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&);
1169 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&); 1164 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
1170 CustomElementRegistry* registry() const { return m_registry.get(); } 1165 CustomElementRegistry* registry() const { return m_registry.get(); }
1171 void didCreateCustomElement(Element*, CustomElementConstructor*); 1166 void didCreateCustomElement(Element*, CustomElementConstructor*);
1172 #endif 1167 #endif
1173 1168
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
1548 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; 1543 RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
1549 #endif 1544 #endif
1550 1545
1551 Timer<Document> m_pendingTasksTimer; 1546 Timer<Document> m_pendingTasksTimer;
1552 Vector<OwnPtr<Task> > m_pendingTasks; 1547 Vector<OwnPtr<Task> > m_pendingTasks;
1553 1548
1554 #if ENABLE(LINK_PRERENDER) 1549 #if ENABLE(LINK_PRERENDER)
1555 OwnPtr<Prerenderer> m_prerenderer; 1550 OwnPtr<Prerenderer> m_prerenderer;
1556 #endif 1551 #endif
1557 1552
1558 #if ENABLE(TEXT_AUTOSIZING)
1559 OwnPtr<TextAutosizer> m_textAutosizer; 1553 OwnPtr<TextAutosizer> m_textAutosizer;
1560 #endif
1561 1554
1562 #if ENABLE(CUSTOM_ELEMENTS) 1555 #if ENABLE(CUSTOM_ELEMENTS)
1563 RefPtr<CustomElementRegistry> m_registry; 1556 RefPtr<CustomElementRegistry> m_registry;
1564 #endif 1557 #endif
1565 1558
1566 bool m_scheduledTasksAreSuspended; 1559 bool m_scheduledTasksAreSuspended;
1567 1560
1568 bool m_visualUpdatesAllowed; 1561 bool m_visualUpdatesAllowed;
1569 Timer<Document> m_visualUpdatesSuppressionTimer; 1562 Timer<Document> m_visualUpdatesSuppressionTimer;
1570 1563
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 trackForDebugging(); 1655 trackForDebugging();
1663 #endif 1656 #endif
1664 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1657 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1665 } 1658 }
1666 1659
1667 Node* eventTargetNodeForDocument(Document*); 1660 Node* eventTargetNodeForDocument(Document*);
1668 1661
1669 } // namespace WebCore 1662 } // namespace WebCore
1670 1663
1671 #endif // Document_h 1664 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698