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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 | 521 |
522 void reattachLayoutTree(const AttachContext& = AttachContext()); | 522 void reattachLayoutTree(const AttachContext& = AttachContext()); |
523 void lazyReattachIfAttached(); | 523 void lazyReattachIfAttached(); |
524 | 524 |
525 // Returns true if recalcStyle should be called on the object, if there is s
uch a method (on Document and Element). | 525 // Returns true if recalcStyle should be called on the object, if there is s
uch a method (on Document and Element). |
526 bool shouldCallRecalcStyle(StyleRecalcChange); | 526 bool shouldCallRecalcStyle(StyleRecalcChange); |
527 | 527 |
528 // Wrapper for nodes that don't have a layoutObject, but still cache the sty
le (like HTMLOptionElement). | 528 // Wrapper for nodes that don't have a layoutObject, but still cache the sty
le (like HTMLOptionElement). |
529 ComputedStyle* mutableComputedStyle() const; | 529 ComputedStyle* mutableComputedStyle() const; |
530 const ComputedStyle* computedStyle() const; | 530 const ComputedStyle* computedStyle() const; |
| 531 void setComputedStyle(PassRefPtr<ComputedStyle>); |
531 const ComputedStyle* parentComputedStyle() const; | 532 const ComputedStyle* parentComputedStyle() const; |
532 | 533 |
533 const ComputedStyle& computedStyleRef() const; | 534 const ComputedStyle& computedStyleRef() const; |
534 | 535 |
535 const ComputedStyle* ensureComputedStyle(PseudoId pseudoElementSpecifier = P
seudoIdNone) { return virtualEnsureComputedStyle(pseudoElementSpecifier); } | 536 const ComputedStyle* ensureComputedStyle(PseudoId pseudoElementSpecifier = P
seudoIdNone) { return virtualEnsureComputedStyle(pseudoElementSpecifier); } |
536 | 537 |
537 // -------------------------------------------------------------------------
---- | 538 // -------------------------------------------------------------------------
---- |
538 // Notification of document structure changes (see ContainerNode.h for more
notification methods) | 539 // Notification of document structure changes (see ContainerNode.h for more
notification methods) |
539 // | 540 // |
540 // At first, WebKit notifies the node that it has been inserted into the doc
ument. This is called during document parsing, and also | 541 // At first, WebKit notifies the node that it has been inserted into the doc
ument. This is called during document parsing, and also |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 } // namespace blink | 888 } // namespace blink |
888 | 889 |
889 #ifndef NDEBUG | 890 #ifndef NDEBUG |
890 // Outside the WebCore namespace for ease of invocation from gdb. | 891 // Outside the WebCore namespace for ease of invocation from gdb. |
891 void showNode(const blink::Node*); | 892 void showNode(const blink::Node*); |
892 void showTree(const blink::Node*); | 893 void showTree(const blink::Node*); |
893 void showNodePath(const blink::Node*); | 894 void showNodePath(const blink::Node*); |
894 #endif | 895 #endif |
895 | 896 |
896 #endif // Node_h | 897 #endif // Node_h |
OLD | NEW |