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

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

Issue 298873003: SVG: SVGAnimateElement should not cache |m_animatedElements| (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 7 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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 PassRefPtrWillBeRawPtr<TreeWalker> createTreeWalker(Node* root, unsigned wha tToShow, ExceptionState&); 482 PassRefPtrWillBeRawPtr<TreeWalker> createTreeWalker(Node* root, unsigned wha tToShow, ExceptionState&);
483 PassRefPtrWillBeRawPtr<TreeWalker> createTreeWalker(Node* root, unsigned wha tToShow, PassRefPtrWillBeRawPtr<NodeFilter>, ExceptionState&); 483 PassRefPtrWillBeRawPtr<TreeWalker> createTreeWalker(Node* root, unsigned wha tToShow, PassRefPtrWillBeRawPtr<NodeFilter>, ExceptionState&);
484 484
485 // Special support for editing 485 // Special support for editing
486 PassRefPtrWillBeRawPtr<Text> createEditingTextNode(const String&); 486 PassRefPtrWillBeRawPtr<Text> createEditingTextNode(const String&);
487 487
488 void setupFontBuilder(RenderStyle* documentStyle); 488 void setupFontBuilder(RenderStyle* documentStyle);
489 489
490 void updateRenderTreeIfNeeded() { updateRenderTree(NoChange); } 490 void updateRenderTreeIfNeeded() { updateRenderTree(NoChange); }
491 void updateRenderTreeForNodeIfNeeded(Node*); 491 void updateRenderTreeForNodeIfNeeded(Node*);
492 void updateUseShadowTreesIfNeeded();
492 void updateLayout(); 493 void updateLayout();
493 enum RunPostLayoutTasks { 494 enum RunPostLayoutTasks {
494 RunPostLayoutTasksAsyhnchronously, 495 RunPostLayoutTasksAsyhnchronously,
495 RunPostLayoutTasksSynchronously, 496 RunPostLayoutTasksSynchronously,
496 }; 497 };
497 void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayout TasksAsyhnchronously); 498 void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayout TasksAsyhnchronously);
498 PassRefPtr<RenderStyle> styleForElementIgnoringPendingStylesheets(Element*); 499 PassRefPtr<RenderStyle> styleForElementIgnoringPendingStylesheets(Element*);
499 PassRefPtr<RenderStyle> styleForPage(int pageIndex); 500 PassRefPtr<RenderStyle> styleForPage(int pageIndex);
500 501
501 void updateDistributionForNodeIfNeeded(Node*); 502 void updateDistributionForNodeIfNeeded(Node*);
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 bool shouldScheduleRenderTreeUpdate() const; 1102 bool shouldScheduleRenderTreeUpdate() const;
1102 void scheduleRenderTreeUpdate(); 1103 void scheduleRenderTreeUpdate();
1103 1104
1104 bool needsFullRenderTreeUpdate() const; 1105 bool needsFullRenderTreeUpdate() const;
1105 bool needsRenderTreeUpdate() const; 1106 bool needsRenderTreeUpdate() const;
1106 1107
1107 void inheritHtmlAndBodyElementStyles(StyleRecalcChange); 1108 void inheritHtmlAndBodyElementStyles(StyleRecalcChange);
1108 1109
1109 bool dirtyElementsForLayerUpdate(); 1110 bool dirtyElementsForLayerUpdate();
1110 void updateDistributionIfNeeded(); 1111 void updateDistributionIfNeeded();
1111 void updateUseShadowTreesIfNeeded();
1112 void evaluateMediaQueryListIfNeeded(); 1112 void evaluateMediaQueryListIfNeeded();
1113 1113
1114 void updateRenderTree(StyleRecalcChange); 1114 void updateRenderTree(StyleRecalcChange);
1115 void updateStyle(StyleRecalcChange); 1115 void updateStyle(StyleRecalcChange);
1116 1116
1117 void detachParser(); 1117 void detachParser();
1118 1118
1119 void clearWeakMembers(Visitor*); 1119 void clearWeakMembers(Visitor*);
1120 1120
1121 virtual bool isDocument() const OVERRIDE FINAL { return true; } 1121 virtual bool isDocument() const OVERRIDE FINAL { return true; }
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 inline bool Node::isDocumentNode() const 1440 inline bool Node::isDocumentNode() const
1441 { 1441 {
1442 return this == document(); 1442 return this == document();
1443 } 1443 }
1444 1444
1445 Node* eventTargetNodeForDocument(Document*); 1445 Node* eventTargetNodeForDocument(Document*);
1446 1446
1447 } // namespace WebCore 1447 } // namespace WebCore
1448 1448
1449 #endif // Document_h 1449 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698