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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/dom/ContainerNode.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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 // do something smarter. 432 // do something smarter.
433 void removedStyleSheet(StyleSheet*, StyleResolverUpdateMode = FullStyleUpdat e); 433 void removedStyleSheet(StyleSheet*, StyleResolverUpdateMode = FullStyleUpdat e);
434 void addedStyleSheet(StyleSheet*) { styleResolverChanged(); } 434 void addedStyleSheet(StyleSheet*) { styleResolverChanged(); }
435 void modifiedStyleSheet(StyleSheet*, StyleResolverUpdateMode = FullStyleUpda te); 435 void modifiedStyleSheet(StyleSheet*, StyleResolverUpdateMode = FullStyleUpda te);
436 void changedSelectorWatch() { styleResolverChanged(); } 436 void changedSelectorWatch() { styleResolverChanged(); }
437 437
438 void scheduleUseShadowTreeUpdate(SVGUseElement&); 438 void scheduleUseShadowTreeUpdate(SVGUseElement&);
439 void unscheduleUseShadowTreeUpdate(SVGUseElement&); 439 void unscheduleUseShadowTreeUpdate(SVGUseElement&);
440 440
441 // FIXME: SVG filters should change to store the filter on the RenderStyle 441 // FIXME: SVG filters should change to store the filter on the RenderStyle
442 // instead of the RenderObject so we can get rid of this hack. 442 // instead of the LayoutObject so we can get rid of this hack.
443 void scheduleSVGFilterLayerUpdateHack(Element&); 443 void scheduleSVGFilterLayerUpdateHack(Element&);
444 void unscheduleSVGFilterLayerUpdateHack(Element&); 444 void unscheduleSVGFilterLayerUpdateHack(Element&);
445 445
446 void evaluateMediaQueryList(); 446 void evaluateMediaQueryList();
447 447
448 FormController& formController(); 448 FormController& formController();
449 DocumentState* formElementsState() const; 449 DocumentState* formElementsState() const;
450 void setStateForNewFormElements(const Vector<String>&); 450 void setStateForNewFormElements(const Vector<String>&);
451 451
452 FrameView* view() const; // can be null 452 FrameView* view() const; // can be null
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 CustomElementRegistrationContext* registrationContext() { return m_registrat ionContext.get(); } 969 CustomElementRegistrationContext* registrationContext() { return m_registrat ionContext.get(); }
970 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue(); 970 CustomElementMicrotaskRunQueue* customElementMicrotaskRunQueue();
971 971
972 void setImportsController(HTMLImportsController*); 972 void setImportsController(HTMLImportsController*);
973 HTMLImportsController* importsController() const { return m_importsControlle r; } 973 HTMLImportsController* importsController() const { return m_importsControlle r; }
974 HTMLImportLoader* importLoader() const; 974 HTMLImportLoader* importLoader() const;
975 975
976 bool haveImportsLoaded() const; 976 bool haveImportsLoaded() const;
977 void didLoadAllImports(); 977 void didLoadAllImports();
978 978
979 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObje ct&); 979 void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, LayoutObje ct&);
980 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject&); 980 void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, LayoutObject&);
981 981
982 bool hasActiveParser(); 982 bool hasActiveParser();
983 unsigned activeParserCount() { return m_activeParserCount; } 983 unsigned activeParserCount() { return m_activeParserCount; }
984 void incrementActiveParserCount() { ++m_activeParserCount; } 984 void incrementActiveParserCount() { ++m_activeParserCount; }
985 void decrementActiveParserCount() { --m_activeParserCount; } 985 void decrementActiveParserCount() { --m_activeParserCount; }
986 986
987 void setContextFeatures(ContextFeatures&); 987 void setContextFeatures(ContextFeatures&);
988 ContextFeatures& contextFeatures() const { return *m_contextFeatures; } 988 ContextFeatures& contextFeatures() const { return *m_contextFeatures; }
989 989
990 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } 990 ElementDataCache* elementDataCache() { return m_elementDataCache.get(); }
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1432 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1433 1433
1434 } // namespace blink 1434 } // namespace blink
1435 1435
1436 #ifndef NDEBUG 1436 #ifndef NDEBUG
1437 // Outside the WebCore namespace for ease of invocation from gdb. 1437 // Outside the WebCore namespace for ease of invocation from gdb.
1438 void showLiveDocumentInstances(); 1438 void showLiveDocumentInstances();
1439 #endif 1439 #endif
1440 1440
1441 #endif // Document_h 1441 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698