| 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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 void reattach(const AttachContext& = AttachContext()); | 415 void reattach(const AttachContext& = AttachContext()); |
| 416 void lazyReattachIfAttached(); | 416 void lazyReattachIfAttached(); |
| 417 | 417 |
| 418 // Returns true if recalcStyle should be called on the object, if there is s
uch a method (on Document and Element). | 418 // Returns true if recalcStyle should be called on the object, if there is s
uch a method (on Document and Element). |
| 419 bool shouldCallRecalcStyle(StyleRecalcChange); | 419 bool shouldCallRecalcStyle(StyleRecalcChange); |
| 420 | 420 |
| 421 // Wrapper for nodes that don't have a renderer, but still cache the style (
like HTMLOptionElement). | 421 // Wrapper for nodes that don't have a renderer, but still cache the style (
like HTMLOptionElement). |
| 422 RenderStyle* renderStyle() const; | 422 RenderStyle* renderStyle() const; |
| 423 RenderStyle* parentRenderStyle() const; | 423 RenderStyle* parentRenderStyle() const; |
| 424 | 424 |
| 425 RenderStyle* computedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { ret
urn virtualComputedStyle(pseudoElementSpecifier); } | 425 RenderStyle* computedStyle() { return virtualComputedStyle(); } |
| 426 | 426 |
| 427 virtual void insertedInto(ContainerNode* insertionPoint); | 427 virtual void insertedInto(ContainerNode* insertionPoint); |
| 428 virtual void removedFrom(ContainerNode* insertionPoint); | 428 virtual void removedFrom(ContainerNode* insertionPoint); |
| 429 | 429 |
| 430 String debugName() const; | 430 String debugName() const; |
| 431 | 431 |
| 432 #ifndef NDEBUG | 432 #ifndef NDEBUG |
| 433 virtual void formatForDebugger(char* buffer, unsigned length) const; | 433 virtual void formatForDebugger(char* buffer, unsigned length) const; |
| 434 | 434 |
| 435 void showNode(const char* prefix = "") const; | 435 void showNode(const char* prefix = "") const; |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 | 596 |
| 597 bool isUserActionElementActive() const; | 597 bool isUserActionElementActive() const; |
| 598 bool isUserActionElementInActiveChain() const; | 598 bool isUserActionElementInActiveChain() const; |
| 599 bool isUserActionElementHovered() const; | 599 bool isUserActionElementHovered() const; |
| 600 bool isUserActionElementFocused() const; | 600 bool isUserActionElementFocused() const; |
| 601 | 601 |
| 602 void traceStyleChange(StyleChangeType); | 602 void traceStyleChange(StyleChangeType); |
| 603 void traceStyleChangeIfNeeded(StyleChangeType); | 603 void traceStyleChangeIfNeeded(StyleChangeType); |
| 604 void setStyleChange(StyleChangeType); | 604 void setStyleChange(StyleChangeType); |
| 605 | 605 |
| 606 virtual RenderStyle* virtualComputedStyle(PseudoId = NOPSEUDO); | 606 virtual RenderStyle* virtualComputedStyle(); |
| 607 | 607 |
| 608 void trackForDebugging(); | 608 void trackForDebugging(); |
| 609 | 609 |
| 610 Vector<OwnPtr<MutationObserverRegistration> >* mutationObserverRegistry(); | 610 Vector<OwnPtr<MutationObserverRegistration> >* mutationObserverRegistry(); |
| 611 HashSet<RawPtr<MutationObserverRegistration> >* transientMutationObserverReg
istry(); | 611 HashSet<RawPtr<MutationObserverRegistration> >* transientMutationObserverReg
istry(); |
| 612 | 612 |
| 613 uint32_t m_nodeFlags; | 613 uint32_t m_nodeFlags; |
| 614 ContainerNode* m_parentOrShadowHostNode; | 614 ContainerNode* m_parentOrShadowHostNode; |
| 615 TreeScope* m_treeScope; | 615 TreeScope* m_treeScope; |
| 616 Node* m_previous; | 616 Node* m_previous; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 683 } // namespace blink | 683 } // namespace blink |
| 684 | 684 |
| 685 #ifndef NDEBUG | 685 #ifndef NDEBUG |
| 686 // Outside the WebCore namespace for ease of invocation from gdb. | 686 // Outside the WebCore namespace for ease of invocation from gdb. |
| 687 void showNode(const blink::Node*); | 687 void showNode(const blink::Node*); |
| 688 void showTree(const blink::Node*); | 688 void showTree(const blink::Node*); |
| 689 void showNodePath(const blink::Node*); | 689 void showNodePath(const blink::Node*); |
| 690 #endif | 690 #endif |
| 691 | 691 |
| 692 #endif // SKY_ENGINE_CORE_DOM_NODE_H_ | 692 #endif // SKY_ENGINE_CORE_DOM_NODE_H_ |
| OLD | NEW |