| 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 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 551 #endif | 551 #endif |
| 552 | 552 |
| 553 void reattach(const AttachContext& = AttachContext()); | 553 void reattach(const AttachContext& = AttachContext()); |
| 554 void lazyReattachIfAttached(); | 554 void lazyReattachIfAttached(); |
| 555 | 555 |
| 556 // Returns true if recalcStyle should be called on the object, if there is s
uch a method (on Document and Element). | 556 // Returns true if recalcStyle should be called on the object, if there is s
uch a method (on Document and Element). |
| 557 bool shouldCallRecalcStyle(StyleRecalcChange); | 557 bool shouldCallRecalcStyle(StyleRecalcChange); |
| 558 | 558 |
| 559 // Wrapper for nodes that don't have a layoutObject, but still cache the sty
le (like HTMLOptionElement). | 559 // Wrapper for nodes that don't have a layoutObject, but still cache the sty
le (like HTMLOptionElement). |
| 560 ComputedStyle* mutableComputedStyle() const; | 560 ComputedStyle* mutableComputedStyle() const; |
| 561 const ComputedStyle* computedStyle() const; | 561 virtual const ComputedStyle* computedStyle() const; |
| 562 const ComputedStyle* parentComputedStyle() const; | 562 const ComputedStyle* parentComputedStyle() const; |
| 563 | 563 |
| 564 const ComputedStyle& computedStyleRef() const; | 564 const ComputedStyle& computedStyleRef() const; |
| 565 | 565 |
| 566 const ComputedStyle* ensureComputedStyle(PseudoId pseudoElementSpecifier = N
OPSEUDO) { return virtualEnsureComputedStyle(pseudoElementSpecifier); } | 566 const ComputedStyle* ensureComputedStyle(PseudoId pseudoElementSpecifier = N
OPSEUDO) { return virtualEnsureComputedStyle(pseudoElementSpecifier); } |
| 567 | 567 |
| 568 // -------------------------------------------------------------------------
---- | 568 // -------------------------------------------------------------------------
---- |
| 569 // Notification of document structure changes (see ContainerNode.h for more
notification methods) | 569 // Notification of document structure changes (see ContainerNode.h for more
notification methods) |
| 570 // | 570 // |
| 571 // At first, WebKit notifies the node that it has been inserted into the doc
ument. This is called during document parsing, and also | 571 // At first, WebKit notifies the node that it has been inserted into the doc
ument. This is called during document parsing, and also |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 } // namespace blink | 917 } // namespace blink |
| 918 | 918 |
| 919 #ifndef NDEBUG | 919 #ifndef NDEBUG |
| 920 // Outside the WebCore namespace for ease of invocation from gdb. | 920 // Outside the WebCore namespace for ease of invocation from gdb. |
| 921 void showNode(const blink::Node*); | 921 void showNode(const blink::Node*); |
| 922 void showTree(const blink::Node*); | 922 void showTree(const blink::Node*); |
| 923 void showNodePath(const blink::Node*); | 923 void showNodePath(const blink::Node*); |
| 924 #endif | 924 #endif |
| 925 | 925 |
| 926 #endif // Node_h | 926 #endif // Node_h |
| OLD | NEW |