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

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

Issue 346603005: Remove the old text autosizer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase for landing Created 6 years, 4 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/core/core.gypi ('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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 class SecurityOrigin; 136 class SecurityOrigin;
137 class SegmentedString; 137 class SegmentedString;
138 class SelectorQueryCache; 138 class SelectorQueryCache;
139 class SerializedScriptValue; 139 class SerializedScriptValue;
140 class Settings; 140 class Settings;
141 class StyleEngine; 141 class StyleEngine;
142 class StyleResolver; 142 class StyleResolver;
143 class StyleSheet; 143 class StyleSheet;
144 class StyleSheetList; 144 class StyleSheetList;
145 class Text; 145 class Text;
146 class TextAutosizer;
147 class Touch; 146 class Touch;
148 class TouchList; 147 class TouchList;
149 class TransformSource; 148 class TransformSource;
150 class TreeWalker; 149 class TreeWalker;
151 class VisitedLinkState; 150 class VisitedLinkState;
152 class WebGLRenderingContext; 151 class WebGLRenderingContext;
153 152
154 struct AnnotatedRegionValue; 153 struct AnnotatedRegionValue;
155 struct IconURL; 154 struct IconURL;
156 155
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 // Called whenever all touch event handlers have been removed for a node (su ch as when the 952 // Called whenever all touch event handlers have been removed for a node (su ch as when the
954 // node itself is being removed from the document). 953 // node itself is being removed from the document).
955 void didClearTouchEventHandlers(Node* handler) { didRemoveTouchEventHandler( handler, true); } 954 void didClearTouchEventHandlers(Node* handler) { didRemoveTouchEventHandler( handler, true); }
956 955
957 const TouchEventTargetSet* touchEventTargets() const { return m_touchEventTa rgets.get(); } 956 const TouchEventTargetSet* touchEventTargets() const { return m_touchEventTa rgets.get(); }
958 957
959 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; } 958 bool isInDocumentWrite() { return m_writeRecursionDepth > 0; }
960 959
961 IntSize initialViewportSize() const; 960 IntSize initialViewportSize() const;
962 961
963 // There are currently two parallel autosizing implementations: TextAutosize r and FastTextAutosizer.
964 // See http://tinyurl.com/chromium-fast-autosizer for more details.
965 TextAutosizer* textAutosizer();
966 FastTextAutosizer* fastTextAutosizer(); 962 FastTextAutosizer* fastTextAutosizer();
967 963
968 PassRefPtrWillBeRawPtr<Element> createElement(const AtomicString& localName, const AtomicString& typeExtension, ExceptionState&); 964 PassRefPtrWillBeRawPtr<Element> createElement(const AtomicString& localName, const AtomicString& typeExtension, ExceptionState&);
969 PassRefPtrWillBeRawPtr<Element> createElementNS(const AtomicString& namespac eURI, const AtomicString& qualifiedName, const AtomicString& typeExtension, Exce ptionState&); 965 PassRefPtrWillBeRawPtr<Element> createElementNS(const AtomicString& namespac eURI, const AtomicString& qualifiedName, const AtomicString& typeExtension, Exce ptionState&);
970 ScriptValue registerElement(blink::ScriptState*, const AtomicString& name, E xceptionState&); 966 ScriptValue registerElement(blink::ScriptState*, const AtomicString& name, E xceptionState&);
971 ScriptValue registerElement(blink::ScriptState*, const AtomicString& name, c onst Dictionary& options, ExceptionState&, CustomElement::NameSet validNames = C ustomElement::StandardNames); 967 ScriptValue registerElement(blink::ScriptState*, const AtomicString& name, c onst Dictionary& options, ExceptionState&, CustomElement::NameSet validNames = C ustomElement::StandardNames);
972 CustomElementRegistrationContext* registrationContext() { return m_registrat ionContext.get(); } 968 CustomElementRegistrationContext* registrationContext() { return m_registrat ionContext.get(); }
973 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue(); 969 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue();
974 970
975 void setImportsController(HTMLImportsController*); 971 void setImportsController(HTMLImportsController*);
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
1348 bool m_writingModeSetOnDocumentElement; 1344 bool m_writingModeSetOnDocumentElement;
1349 DocumentTiming m_documentTiming; 1345 DocumentTiming m_documentTiming;
1350 RefPtrWillBeMember<MediaQueryMatcher> m_mediaQueryMatcher; 1346 RefPtrWillBeMember<MediaQueryMatcher> m_mediaQueryMatcher;
1351 bool m_writeRecursionIsTooDeep; 1347 bool m_writeRecursionIsTooDeep;
1352 unsigned m_writeRecursionDepth; 1348 unsigned m_writeRecursionDepth;
1353 1349
1354 OwnPtr<TouchEventTargetSet> m_touchEventTargets; 1350 OwnPtr<TouchEventTargetSet> m_touchEventTargets;
1355 1351
1356 RefPtrWillBeMember<ScriptedAnimationController> m_scriptedAnimationControlle r; 1352 RefPtrWillBeMember<ScriptedAnimationController> m_scriptedAnimationControlle r;
1357 OwnPtr<MainThreadTaskRunner> m_taskRunner; 1353 OwnPtr<MainThreadTaskRunner> m_taskRunner;
1358 OwnPtrWillBeMember<TextAutosizer> m_textAutosizer;
1359 OwnPtrWillBeMember<FastTextAutosizer> m_fastTextAutosizer; 1354 OwnPtrWillBeMember<FastTextAutosizer> m_fastTextAutosizer;
1360 1355
1361 RefPtrWillBeMember<CustomElementRegistrationContext> m_registrationContext; 1356 RefPtrWillBeMember<CustomElementRegistrationContext> m_registrationContext;
1362 RefPtrWillBeMember<CustomElementMicrotaskRunQueue> m_customElementMicrotaskR unQueue; 1357 RefPtrWillBeMember<CustomElementMicrotaskRunQueue> m_customElementMicrotaskR unQueue;
1363 1358
1364 void elementDataCacheClearTimerFired(Timer<Document>*); 1359 void elementDataCacheClearTimerFired(Timer<Document>*);
1365 Timer<Document> m_elementDataCacheClearTimer; 1360 Timer<Document> m_elementDataCacheClearTimer;
1366 1361
1367 OwnPtrWillBeMember<ElementDataCache> m_elementDataCache; 1362 OwnPtrWillBeMember<ElementDataCache> m_elementDataCache;
1368 1363
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 Node* eventTargetNodeForDocument(Document*); 1425 Node* eventTargetNodeForDocument(Document*);
1431 1426
1432 } // namespace blink 1427 } // namespace blink
1433 1428
1434 #ifndef NDEBUG 1429 #ifndef NDEBUG
1435 // Outside the WebCore namespace for ease of invocation from gdb. 1430 // Outside the WebCore namespace for ease of invocation from gdb.
1436 void showLiveDocumentInstances(); 1431 void showLiveDocumentInstances();
1437 #endif 1432 #endif
1438 1433
1439 #endif // Document_h 1434 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698