Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2491953004: Reland of Fix link's hover state if the link under scrollbar (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 712
713 void setActiveHoverElement(Element*); 713 void setActiveHoverElement(Element*);
714 Element* activeHoverElement() const { return m_activeHoverElement.get(); } 714 Element* activeHoverElement() const { return m_activeHoverElement.get(); }
715 715
716 Node* hoverNode() const { return m_hoverNode.get(); } 716 Node* hoverNode() const { return m_hoverNode.get(); }
717 717
718 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); 718 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false);
719 void hoveredNodeDetached(Element&); 719 void hoveredNodeDetached(Element&);
720 void activeChainNodeDetached(Element&); 720 void activeChainNodeDetached(Element&);
721 721
722 void updateHoverActiveState(const HitTestRequest&, Element*); 722 void updateHoverActiveState(const HitTestRequest&,
723 Element*,
724 bool hitScrollbar);
723 725
724 // Updates for :target (CSS3 selector). 726 // Updates for :target (CSS3 selector).
725 void setCSSTarget(Element*); 727 void setCSSTarget(Element*);
726 Element* cssTarget() const { return m_cssTarget; } 728 Element* cssTarget() const { return m_cssTarget; }
727 729
728 void scheduleLayoutTreeUpdateIfNeeded(); 730 void scheduleLayoutTreeUpdateIfNeeded();
729 bool hasPendingForcedStyleRecalc() const; 731 bool hasPendingForcedStyleRecalc() const;
730 732
731 void registerNodeList(const LiveNodeListBase*); 733 void registerNodeList(const LiveNodeListBase*);
732 void unregisterNodeList(const LiveNodeListBase*); 734 void unregisterNodeList(const LiveNodeListBase*);
(...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after
1709 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1711 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1710 1712
1711 } // namespace blink 1713 } // namespace blink
1712 1714
1713 #ifndef NDEBUG 1715 #ifndef NDEBUG
1714 // Outside the WebCore namespace for ease of invocation from gdb. 1716 // Outside the WebCore namespace for ease of invocation from gdb.
1715 CORE_EXPORT void showLiveDocumentInstances(); 1717 CORE_EXPORT void showLiveDocumentInstances();
1716 #endif 1718 #endif
1717 1719
1718 #endif // Document_h 1720 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698