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

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

Issue 2523903002: Document::updateHoverActiveState only cancel hover and active state when hitting native scrollbar (Closed)
Patch Set: Created 4 years 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
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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 Element* activeHoverElement() const { return m_activeHoverElement.get(); } 720 Element* activeHoverElement() const { return m_activeHoverElement.get(); }
721 721
722 Node* hoverNode() const { return m_hoverNode.get(); } 722 Node* hoverNode() const { return m_hoverNode.get(); }
723 723
724 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); 724 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false);
725 void hoveredNodeDetached(Element&); 725 void hoveredNodeDetached(Element&);
726 void activeChainNodeDetached(Element&); 726 void activeChainNodeDetached(Element&);
727 727
728 void updateHoverActiveState(const HitTestRequest&, 728 void updateHoverActiveState(const HitTestRequest&,
729 Element*, 729 Element*,
730 bool hitScrollbar); 730 bool hitOverlayScrollbar);
731 731
732 // Updates for :target (CSS3 selector). 732 // Updates for :target (CSS3 selector).
733 void setCSSTarget(Element*); 733 void setCSSTarget(Element*);
734 Element* cssTarget() const { return m_cssTarget; } 734 Element* cssTarget() const { return m_cssTarget; }
735 735
736 void scheduleLayoutTreeUpdateIfNeeded(); 736 void scheduleLayoutTreeUpdateIfNeeded();
737 bool hasPendingForcedStyleRecalc() const; 737 bool hasPendingForcedStyleRecalc() const;
738 738
739 void registerNodeList(const LiveNodeListBase*); 739 void registerNodeList(const LiveNodeListBase*);
740 void unregisterNodeList(const LiveNodeListBase*); 740 void unregisterNodeList(const LiveNodeListBase*);
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
1712 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1712 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1713 1713
1714 } // namespace blink 1714 } // namespace blink
1715 1715
1716 #ifndef NDEBUG 1716 #ifndef NDEBUG
1717 // Outside the WebCore namespace for ease of invocation from gdb. 1717 // Outside the WebCore namespace for ease of invocation from gdb.
1718 CORE_EXPORT void showLiveDocumentInstances(); 1718 CORE_EXPORT void showLiveDocumentInstances();
1719 #endif 1719 #endif
1720 1720
1721 #endif // Document_h 1721 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | third_party/WebKit/Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698