| 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 PassRefPtrWillBeRawPtr<TreeWalker> createTreeWalker(Node* root, unsigned wha
tToShow, ExceptionState&); | 484 PassRefPtrWillBeRawPtr<TreeWalker> createTreeWalker(Node* root, unsigned wha
tToShow, ExceptionState&); |
| 485 PassRefPtrWillBeRawPtr<TreeWalker> createTreeWalker(Node* root, unsigned wha
tToShow, PassRefPtrWillBeRawPtr<NodeFilter>, ExceptionState&); | 485 PassRefPtrWillBeRawPtr<TreeWalker> createTreeWalker(Node* root, unsigned wha
tToShow, PassRefPtrWillBeRawPtr<NodeFilter>, ExceptionState&); |
| 486 | 486 |
| 487 // Special support for editing | 487 // Special support for editing |
| 488 PassRefPtrWillBeRawPtr<Text> createEditingTextNode(const String&); | 488 PassRefPtrWillBeRawPtr<Text> createEditingTextNode(const String&); |
| 489 | 489 |
| 490 void setupFontBuilder(RenderStyle* documentStyle); | 490 void setupFontBuilder(RenderStyle* documentStyle); |
| 491 | 491 |
| 492 void updateRenderTreeIfNeeded() { updateRenderTree(NoChange); } | 492 void updateRenderTreeIfNeeded() { updateRenderTree(NoChange); } |
| 493 void updateRenderTreeForNodeIfNeeded(Node*); | 493 void updateRenderTreeForNodeIfNeeded(Node*); |
| 494 void updateUseShadowTreesIfNeeded(); |
| 494 void updateLayout(); | 495 void updateLayout(); |
| 495 enum RunPostLayoutTasks { | 496 enum RunPostLayoutTasks { |
| 496 RunPostLayoutTasksAsyhnchronously, | 497 RunPostLayoutTasksAsyhnchronously, |
| 497 RunPostLayoutTasksSynchronously, | 498 RunPostLayoutTasksSynchronously, |
| 498 }; | 499 }; |
| 499 void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayout
TasksAsyhnchronously); | 500 void updateLayoutIgnorePendingStylesheets(RunPostLayoutTasks = RunPostLayout
TasksAsyhnchronously); |
| 500 PassRefPtr<RenderStyle> styleForElementIgnoringPendingStylesheets(Element*); | 501 PassRefPtr<RenderStyle> styleForElementIgnoringPendingStylesheets(Element*); |
| 501 PassRefPtr<RenderStyle> styleForPage(int pageIndex); | 502 PassRefPtr<RenderStyle> styleForPage(int pageIndex); |
| 502 | 503 |
| 503 void updateDistributionForNodeIfNeeded(Node*); | 504 void updateDistributionForNodeIfNeeded(Node*); |
| (...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1103 bool shouldScheduleRenderTreeUpdate() const; | 1104 bool shouldScheduleRenderTreeUpdate() const; |
| 1104 void scheduleRenderTreeUpdate(); | 1105 void scheduleRenderTreeUpdate(); |
| 1105 | 1106 |
| 1106 bool needsFullRenderTreeUpdate() const; | 1107 bool needsFullRenderTreeUpdate() const; |
| 1107 bool needsRenderTreeUpdate() const; | 1108 bool needsRenderTreeUpdate() const; |
| 1108 | 1109 |
| 1109 void inheritHtmlAndBodyElementStyles(StyleRecalcChange); | 1110 void inheritHtmlAndBodyElementStyles(StyleRecalcChange); |
| 1110 | 1111 |
| 1111 bool dirtyElementsForLayerUpdate(); | 1112 bool dirtyElementsForLayerUpdate(); |
| 1112 void updateDistributionIfNeeded(); | 1113 void updateDistributionIfNeeded(); |
| 1113 void updateUseShadowTreesIfNeeded(); | |
| 1114 void evaluateMediaQueryListIfNeeded(); | 1114 void evaluateMediaQueryListIfNeeded(); |
| 1115 | 1115 |
| 1116 void updateRenderTree(StyleRecalcChange); | 1116 void updateRenderTree(StyleRecalcChange); |
| 1117 void updateStyle(StyleRecalcChange); | 1117 void updateStyle(StyleRecalcChange); |
| 1118 | 1118 |
| 1119 void detachParser(); | 1119 void detachParser(); |
| 1120 | 1120 |
| 1121 void clearWeakMembers(Visitor*); | 1121 void clearWeakMembers(Visitor*); |
| 1122 | 1122 |
| 1123 virtual bool isDocument() const OVERRIDE FINAL { return true; } | 1123 virtual bool isDocument() const OVERRIDE FINAL { return true; } |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1441 inline bool Node::isDocumentNode() const | 1441 inline bool Node::isDocumentNode() const |
| 1442 { | 1442 { |
| 1443 return this == document(); | 1443 return this == document(); |
| 1444 } | 1444 } |
| 1445 | 1445 |
| 1446 Node* eventTargetNodeForDocument(Document*); | 1446 Node* eventTargetNodeForDocument(Document*); |
| 1447 | 1447 |
| 1448 } // namespace WebCore | 1448 } // namespace WebCore |
| 1449 | 1449 |
| 1450 #endif // Document_h | 1450 #endif // Document_h |
| OLD | NEW |