| 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 PassRefPtr<CSSStyleDeclaration> createCSSStyleDeclaration(); | 484 PassRefPtr<CSSStyleDeclaration> createCSSStyleDeclaration(); |
| 485 PassRefPtr<Text> createEditingTextNode(const String&); | 485 PassRefPtr<Text> createEditingTextNode(const String&); |
| 486 | 486 |
| 487 void setStyleDependentState(RenderStyle* documentStyle); | 487 void setStyleDependentState(RenderStyle* documentStyle); |
| 488 void inheritHtmlAndBodyElementStyles(StyleChange); | 488 void inheritHtmlAndBodyElementStyles(StyleChange); |
| 489 void recalcStyle(StyleChange = NoChange); | 489 void recalcStyle(StyleChange = NoChange); |
| 490 void updateStyleIfNeeded(); | 490 void updateStyleIfNeeded(); |
| 491 void updateStyleForNodeIfNeeded(Node*); | 491 void updateStyleForNodeIfNeeded(Node*); |
| 492 void updateLayout(); | 492 void updateLayout(); |
| 493 void updateLayoutIgnorePendingStylesheets(); | 493 void updateLayoutIgnorePendingStylesheets(); |
| 494 void partialUpdateLayoutIgnorePendingStylesheets(Node*); |
| 494 PassRefPtr<RenderStyle> styleForElementIgnoringPendingStylesheets(Element*); | 495 PassRefPtr<RenderStyle> styleForElementIgnoringPendingStylesheets(Element*); |
| 495 PassRefPtr<RenderStyle> styleForPage(int pageIndex); | 496 PassRefPtr<RenderStyle> styleForPage(int pageIndex); |
| 496 | 497 |
| 497 void updateDistributionForNodeIfNeeded(Node*); | 498 void updateDistributionForNodeIfNeeded(Node*); |
| 498 | 499 |
| 499 // Returns true if page box (margin boxes and page borders) is visible. | 500 // Returns true if page box (margin boxes and page borders) is visible. |
| 500 bool isPageBoxVisible(int pageIndex); | 501 bool isPageBoxVisible(int pageIndex); |
| 501 | 502 |
| 502 // Returns the preferred page size and margins in pixels, assuming 96 | 503 // Returns the preferred page size and margins in pixels, assuming 96 |
| 503 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, | 504 // pixels per inch. pageSize, marginTop, marginRight, marginBottom, |
| (...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1116 void updateTitle(const String&); | 1117 void updateTitle(const String&); |
| 1117 void updateFocusAppearanceTimerFired(Timer<Document>*); | 1118 void updateFocusAppearanceTimerFired(Timer<Document>*); |
| 1118 void updateBaseURL(); | 1119 void updateBaseURL(); |
| 1119 | 1120 |
| 1120 void createStyleResolver(); | 1121 void createStyleResolver(); |
| 1121 | 1122 |
| 1122 void executeScriptsWaitingForResourcesIfNeeded(); | 1123 void executeScriptsWaitingForResourcesIfNeeded(); |
| 1123 | 1124 |
| 1124 void seamlessParentUpdatedStylesheets(); | 1125 void seamlessParentUpdatedStylesheets(); |
| 1125 | 1126 |
| 1127 void recalcStyleForLayoutIgnoringPendingStylesheets(); |
| 1128 |
| 1126 PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult&
) const; | 1129 PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult&
) const; |
| 1127 | 1130 |
| 1128 void loadEventDelayTimerFired(Timer<Document>*); | 1131 void loadEventDelayTimerFired(Timer<Document>*); |
| 1129 | 1132 |
| 1130 void pendingTasksTimerFired(Timer<Document>*); | 1133 void pendingTasksTimerFired(Timer<Document>*); |
| 1131 | 1134 |
| 1132 static void didReceiveTask(void*); | 1135 static void didReceiveTask(void*); |
| 1133 | 1136 |
| 1134 template <typename CharacterType> | 1137 template <typename CharacterType> |
| 1135 void displayBufferModifiedByEncodingInternal(CharacterType*, unsigned) const
; | 1138 void displayBufferModifiedByEncodingInternal(CharacterType*, unsigned) const
; |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1434 inline bool Node::isDocumentNode() const | 1437 inline bool Node::isDocumentNode() const |
| 1435 { | 1438 { |
| 1436 return this == documentInternal(); | 1439 return this == documentInternal(); |
| 1437 } | 1440 } |
| 1438 | 1441 |
| 1439 Node* eventTargetNodeForDocument(Document*); | 1442 Node* eventTargetNodeForDocument(Document*); |
| 1440 | 1443 |
| 1441 } // namespace WebCore | 1444 } // namespace WebCore |
| 1442 | 1445 |
| 1443 #endif // Document_h | 1446 #endif // Document_h |
| OLD | NEW |