Chromium Code Reviews| 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 | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 717 | 717 |
| 718 void setActiveHoverElement(Element*); | 718 void setActiveHoverElement(Element*); |
| 719 Element* activeHoverElement() const { return m_activeHoverElement.get(); } | 719 Element* activeHoverElement() const { return m_activeHoverElement.get(); } |
| 720 | 720 |
| 721 Node* hoverNode() const { return m_hoverNode.get(); } | 721 Node* hoverNode() const { return m_hoverNode.get(); } |
| 722 | 722 |
| 723 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); | 723 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); |
| 724 void hoveredNodeDetached(Element&); | 724 void hoveredNodeDetached(Element&); |
| 725 void activeChainNodeDetached(Element&); | 725 void activeChainNodeDetached(Element&); |
| 726 | 726 |
| 727 void updateHoverActiveState(const HitTestRequest&, Element*); | 727 void updateHoverActiveState(const HitTestRequest&, |
| 728 Element*, | |
| 729 bool hasScrollbar); | |
|
bokan
2016/11/01 21:09:37
Nit: hasScrollbar -> hitScrollbar describes this b
| |
| 728 | 730 |
| 729 // Updates for :target (CSS3 selector). | 731 // Updates for :target (CSS3 selector). |
| 730 void setCSSTarget(Element*); | 732 void setCSSTarget(Element*); |
| 731 Element* cssTarget() const { return m_cssTarget; } | 733 Element* cssTarget() const { return m_cssTarget; } |
| 732 | 734 |
| 733 void scheduleLayoutTreeUpdateIfNeeded(); | 735 void scheduleLayoutTreeUpdateIfNeeded(); |
| 734 bool hasPendingForcedStyleRecalc() const; | 736 bool hasPendingForcedStyleRecalc() const; |
| 735 | 737 |
| 736 void registerNodeList(const LiveNodeListBase*); | 738 void registerNodeList(const LiveNodeListBase*); |
| 737 void unregisterNodeList(const LiveNodeListBase*); | 739 void unregisterNodeList(const LiveNodeListBase*); |
| (...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1712 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1714 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
| 1713 | 1715 |
| 1714 } // namespace blink | 1716 } // namespace blink |
| 1715 | 1717 |
| 1716 #ifndef NDEBUG | 1718 #ifndef NDEBUG |
| 1717 // Outside the WebCore namespace for ease of invocation from gdb. | 1719 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1718 CORE_EXPORT void showLiveDocumentInstances(); | 1720 CORE_EXPORT void showLiveDocumentInstances(); |
| 1719 #endif | 1721 #endif |
| 1720 | 1722 |
| 1721 #endif // Document_h | 1723 #endif // Document_h |
| OLD | NEW |