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

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

Issue 2389073002: Fix link's hover state if the link under scrollbar (Closed)
Patch Set: Merge patch-2467693002 to fix testcase failed in OSX 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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 hitScrollbar);
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 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1723 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1722 1724
1723 } // namespace blink 1725 } // namespace blink
1724 1726
1725 #ifndef NDEBUG 1727 #ifndef NDEBUG
1726 // Outside the WebCore namespace for ease of invocation from gdb. 1728 // Outside the WebCore namespace for ease of invocation from gdb.
1727 CORE_EXPORT void showLiveDocumentInstances(); 1729 CORE_EXPORT void showLiveDocumentInstances();
1728 #endif 1730 #endif
1729 1731
1730 #endif // Document_h 1732 #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