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

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
« no previous file with comments | « Source/WTF/wtf/FeatureDefines.h ('k') | Source/WebCore/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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 class SecurityOrigin; 137 class SecurityOrigin;
138 class SelectorQueryCache; 138 class SelectorQueryCache;
139 class SerializedScriptValue; 139 class SerializedScriptValue;
140 class SegmentedString; 140 class SegmentedString;
141 class Settings; 141 class Settings;
142 class StyleResolver; 142 class StyleResolver;
143 class StyleSheet; 143 class StyleSheet;
144 class StyleSheetContents; 144 class StyleSheetContents;
145 class StyleSheetList; 145 class StyleSheetList;
146 class Text; 146 class Text;
147 class TextAutosizer;
147 class TextResourceDecoder; 148 class TextResourceDecoder;
148 class TreeWalker; 149 class TreeWalker;
149 class VisitedLinkState; 150 class VisitedLinkState;
150 class WebKitNamedFlow; 151 class WebKitNamedFlow;
151 class XMLHttpRequest; 152 class XMLHttpRequest;
152 class XPathEvaluator; 153 class XPathEvaluator;
153 class XPathExpression; 154 class XPathExpression;
154 class XPathNSResolver; 155 class XPathNSResolver;
155 class XPathResult; 156 class XPathResult;
156 157
(...skipping 20 matching lines...) Expand all
177 #endif 178 #endif
178 179
179 #if ENABLE(MICRODATA) 180 #if ENABLE(MICRODATA)
180 class MicroDataItemList; 181 class MicroDataItemList;
181 #endif 182 #endif
182 183
183 #if ENABLE(LINK_PRERENDER) 184 #if ENABLE(LINK_PRERENDER)
184 class Prerenderer; 185 class Prerenderer;
185 #endif 186 #endif
186 187
187 #if ENABLE(TEXT_AUTOSIZING)
188 class TextAutosizer;
189 #endif
190
191 #if ENABLE(FONT_LOAD_EVENTS) 188 #if ENABLE(FONT_LOAD_EVENTS)
192 class FontLoader; 189 class FontLoader;
193 #endif 190 #endif
194 191
195 typedef int ExceptionCode; 192 typedef int ExceptionCode;
196 193
197 enum PageshowEventPersistence { 194 enum PageshowEventPersistence {
198 PageshowEventNotPersisted = 0, 195 PageshowEventNotPersisted = 0,
199 PageshowEventPersisted = 1 196 PageshowEventPersisted = 1
200 }; 197 };
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 IntSize viewportSize() const; 1131 IntSize viewportSize() const;
1135 1132
1136 #if ENABLE(CSS_DEVICE_ADAPTATION) 1133 #if ENABLE(CSS_DEVICE_ADAPTATION)
1137 IntSize initialViewportSize() const; 1134 IntSize initialViewportSize() const;
1138 #endif 1135 #endif
1139 1136
1140 #if ENABLE(LINK_PRERENDER) 1137 #if ENABLE(LINK_PRERENDER)
1141 Prerenderer* prerenderer() { return m_prerenderer.get(); } 1138 Prerenderer* prerenderer() { return m_prerenderer.get(); }
1142 #endif 1139 #endif
1143 1140
1144 #if ENABLE(TEXT_AUTOSIZING)
1145 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); } 1141 TextAutosizer* textAutosizer() { return m_textAutosizer.get(); }
1146 #endif
1147 1142
1148 #if ENABLE(CUSTOM_ELEMENTS) 1143 #if ENABLE(CUSTOM_ELEMENTS)
1149 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&); 1144 PassRefPtr<Element> createElement(const AtomicString& localName, const Atomi cString& typeExtension, ExceptionCode&);
1150 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); 1145 PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&);
1151 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&); 1146 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&);
1152 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&); 1147 PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
1153 CustomElementRegistry* registry() const { return m_registry.get(); } 1148 CustomElementRegistry* registry() const { return m_registry.get(); }
1154 void didCreateCustomElement(Element*, CustomElementConstructor*); 1149 void didCreateCustomElement(Element*, CustomElementConstructor*);
1155 #endif 1150 #endif
1156 1151
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 RefPtr<ScriptedAnimationController> m_scriptedAnimationController; 1520 RefPtr<ScriptedAnimationController> m_scriptedAnimationController;
1526 #endif 1521 #endif
1527 1522
1528 Timer<Document> m_pendingTasksTimer; 1523 Timer<Document> m_pendingTasksTimer;
1529 Vector<OwnPtr<Task> > m_pendingTasks; 1524 Vector<OwnPtr<Task> > m_pendingTasks;
1530 1525
1531 #if ENABLE(LINK_PRERENDER) 1526 #if ENABLE(LINK_PRERENDER)
1532 OwnPtr<Prerenderer> m_prerenderer; 1527 OwnPtr<Prerenderer> m_prerenderer;
1533 #endif 1528 #endif
1534 1529
1535 #if ENABLE(TEXT_AUTOSIZING)
1536 OwnPtr<TextAutosizer> m_textAutosizer; 1530 OwnPtr<TextAutosizer> m_textAutosizer;
1537 #endif
1538 1531
1539 #if ENABLE(CUSTOM_ELEMENTS) 1532 #if ENABLE(CUSTOM_ELEMENTS)
1540 RefPtr<CustomElementRegistry> m_registry; 1533 RefPtr<CustomElementRegistry> m_registry;
1541 #endif 1534 #endif
1542 1535
1543 bool m_scheduledTasksAreSuspended; 1536 bool m_scheduledTasksAreSuspended;
1544 1537
1545 bool m_visualUpdatesAllowed; 1538 bool m_visualUpdatesAllowed;
1546 Timer<Document> m_visualUpdatesSuppressionTimer; 1539 Timer<Document> m_visualUpdatesSuppressionTimer;
1547 1540
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 trackForDebugging(); 1630 trackForDebugging();
1638 #endif 1631 #endif
1639 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1632 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1640 } 1633 }
1641 1634
1642 Node* eventTargetNodeForDocument(Document*); 1635 Node* eventTargetNodeForDocument(Document*);
1643 1636
1644 } // namespace WebCore 1637 } // namespace WebCore
1645 1638
1646 #endif // Document_h 1639 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/WTF/wtf/FeatureDefines.h ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698