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

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: comment update 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
« 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 class Range; 147 class Range;
148 class ResizeObserverController; 148 class ResizeObserverController;
149 class ResourceFetcher; 149 class ResourceFetcher;
150 class RootScrollerController; 150 class RootScrollerController;
151 class SVGDocumentExtensions; 151 class SVGDocumentExtensions;
152 class SVGUseElement; 152 class SVGUseElement;
153 class ScriptRunner; 153 class ScriptRunner;
154 class ScriptableDocumentParser; 154 class ScriptableDocumentParser;
155 class ScriptedAnimationController; 155 class ScriptedAnimationController;
156 class ScriptedIdleTaskController; 156 class ScriptedIdleTaskController;
157 class Scrollbar;
157 class SecurityOrigin; 158 class SecurityOrigin;
158 class SegmentedString; 159 class SegmentedString;
159 class SelectorQueryCache; 160 class SelectorQueryCache;
160 class SerializedScriptValue; 161 class SerializedScriptValue;
161 class Settings; 162 class Settings;
162 class SnapCoordinator; 163 class SnapCoordinator;
163 class StringOrDictionary; 164 class StringOrDictionary;
164 class StyleEngine; 165 class StyleEngine;
165 class StyleResolver; 166 class StyleResolver;
166 class StyleSheetList; 167 class StyleSheetList;
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 719
719 void setActiveHoverElement(Element*); 720 void setActiveHoverElement(Element*);
720 Element* activeHoverElement() const { return m_activeHoverElement.get(); } 721 Element* activeHoverElement() const { return m_activeHoverElement.get(); }
721 722
722 Node* hoverNode() const { return m_hoverNode.get(); } 723 Node* hoverNode() const { return m_hoverNode.get(); }
723 724
724 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); 725 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false);
725 void hoveredNodeDetached(Element&); 726 void hoveredNodeDetached(Element&);
726 void activeChainNodeDetached(Element&); 727 void activeChainNodeDetached(Element&);
727 728
728 void updateHoverActiveState(const HitTestRequest&, 729 void updateHoverActiveState(const HitTestRequest&, Element*, Scrollbar*);
729 Element*,
730 bool hitScrollbar);
731 730
732 // Updates for :target (CSS3 selector). 731 // Updates for :target (CSS3 selector).
733 void setCSSTarget(Element*); 732 void setCSSTarget(Element*);
734 Element* cssTarget() const { return m_cssTarget; } 733 Element* cssTarget() const { return m_cssTarget; }
735 734
736 void scheduleLayoutTreeUpdateIfNeeded(); 735 void scheduleLayoutTreeUpdateIfNeeded();
737 bool hasPendingForcedStyleRecalc() const; 736 bool hasPendingForcedStyleRecalc() const;
738 737
739 void registerNodeList(const LiveNodeListBase*); 738 void registerNodeList(const LiveNodeListBase*);
740 void unregisterNodeList(const LiveNodeListBase*); 739 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); 1711 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1713 1712
1714 } // namespace blink 1713 } // namespace blink
1715 1714
1716 #ifndef NDEBUG 1715 #ifndef NDEBUG
1717 // Outside the WebCore namespace for ease of invocation from gdb. 1716 // Outside the WebCore namespace for ease of invocation from gdb.
1718 CORE_EXPORT void showLiveDocumentInstances(); 1717 CORE_EXPORT void showLiveDocumentInstances();
1719 #endif 1718 #endif
1720 1719
1721 #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