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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 | 562 |
563 void reattach(const AttachContext& = AttachContext()); | 563 void reattach(const AttachContext& = AttachContext()); |
564 void lazyReattachIfAttached(); | 564 void lazyReattachIfAttached(); |
565 | 565 |
566 // Returns true if recalcStyle should be called on the object, if there is s
uch a method (on Document and Element). | 566 // Returns true if recalcStyle should be called on the object, if there is s
uch a method (on Document and Element). |
567 bool shouldCallRecalcStyle(StyleRecalcChange); | 567 bool shouldCallRecalcStyle(StyleRecalcChange); |
568 | 568 |
569 // Wrapper for nodes that don't have a layoutObject, but still cache the sty
le (like HTMLOptionElement). | 569 // Wrapper for nodes that don't have a layoutObject, but still cache the sty
le (like HTMLOptionElement). |
570 ComputedStyle* mutableComputedStyle() const; | 570 ComputedStyle* mutableComputedStyle() const; |
571 const ComputedStyle* computedStyle() const; | 571 const ComputedStyle* computedStyle() const; |
| 572 void setComputedStyle(PassRefPtr<ComputedStyle>); |
572 const ComputedStyle* parentComputedStyle() const; | 573 const ComputedStyle* parentComputedStyle() const; |
573 | 574 |
574 const ComputedStyle& computedStyleRef() const; | 575 const ComputedStyle& computedStyleRef() const; |
575 | 576 |
576 const ComputedStyle* ensureComputedStyle(PseudoId pseudoElementSpecifier = P
seudoIdNone) { return virtualEnsureComputedStyle(pseudoElementSpecifier); } | 577 const ComputedStyle* ensureComputedStyle(PseudoId pseudoElementSpecifier = P
seudoIdNone) { return virtualEnsureComputedStyle(pseudoElementSpecifier); } |
577 | 578 |
578 // -------------------------------------------------------------------------
---- | 579 // -------------------------------------------------------------------------
---- |
579 // Notification of document structure changes (see ContainerNode.h for more
notification methods) | 580 // Notification of document structure changes (see ContainerNode.h for more
notification methods) |
580 // | 581 // |
581 // At first, WebKit notifies the node that it has been inserted into the doc
ument. This is called during document parsing, and also | 582 // At first, WebKit notifies the node that it has been inserted into the doc
ument. This is called during document parsing, and also |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
933 } // namespace blink | 934 } // namespace blink |
934 | 935 |
935 #ifndef NDEBUG | 936 #ifndef NDEBUG |
936 // Outside the WebCore namespace for ease of invocation from gdb. | 937 // Outside the WebCore namespace for ease of invocation from gdb. |
937 void showNode(const blink::Node*); | 938 void showNode(const blink::Node*); |
938 void showTree(const blink::Node*); | 939 void showTree(const blink::Node*); |
939 void showNodePath(const blink::Node*); | 940 void showNodePath(const blink::Node*); |
940 #endif | 941 #endif |
941 | 942 |
942 #endif // Node_h | 943 #endif // Node_h |
OLD | NEW |