| OLD | NEW |
| 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 Loading... |
| 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1104 bool shouldScheduleRenderTreeUpdate() const; | 1105 bool shouldScheduleRenderTreeUpdate() const; |
| 1105 void scheduleRenderTreeUpdate(); | 1106 void scheduleRenderTreeUpdate(); |
| 1106 | 1107 |
| 1107 bool needsFullRenderTreeUpdate() const; | 1108 bool needsFullRenderTreeUpdate() const; |
| 1108 bool needsRenderTreeUpdate() const; | 1109 bool needsRenderTreeUpdate() const; |
| 1109 | 1110 |
| 1110 void inheritHtmlAndBodyElementStyles(StyleRecalcChange); | 1111 void inheritHtmlAndBodyElementStyles(StyleRecalcChange); |
| 1111 | 1112 |
| 1112 bool dirtyElementsForLayerUpdate(); | 1113 bool dirtyElementsForLayerUpdate(); |
| 1113 void updateDistributionIfNeeded(); | 1114 void updateDistributionIfNeeded(); |
| 1114 void updateUseShadowTreesIfNeeded(); | |
| 1115 void evaluateMediaQueryListIfNeeded(); | 1115 void evaluateMediaQueryListIfNeeded(); |
| 1116 | 1116 |
| 1117 void updateRenderTree(StyleRecalcChange); | 1117 void updateRenderTree(StyleRecalcChange); |
| 1118 void updateStyle(StyleRecalcChange); | 1118 void updateStyle(StyleRecalcChange); |
| 1119 | 1119 |
| 1120 void detachParser(); | 1120 void detachParser(); |
| 1121 | 1121 |
| 1122 void clearWeakMembers(Visitor*); | 1122 void clearWeakMembers(Visitor*); |
| 1123 | 1123 |
| 1124 virtual bool isDocument() const OVERRIDE FINAL { return true; } | 1124 virtual bool isDocument() const OVERRIDE FINAL { return true; } |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1443 inline bool Node::isDocumentNode() const | 1443 inline bool Node::isDocumentNode() const |
| 1444 { | 1444 { |
| 1445 return this == document(); | 1445 return this == document(); |
| 1446 } | 1446 } |
| 1447 | 1447 |
| 1448 Node* eventTargetNodeForDocument(Document*); | 1448 Node* eventTargetNodeForDocument(Document*); |
| 1449 | 1449 |
| 1450 } // namespace WebCore | 1450 } // namespace WebCore |
| 1451 | 1451 |
| 1452 #endif // Document_h | 1452 #endif // Document_h |
| OLD | NEW |