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

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

Issue 2784313002: Change hittest node to be scrollbar's parent when hittest include a scrollbar (Closed)
Patch Set: mustaq comments addressed Created 3 years, 8 months 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 class ResizeObserverController; 147 class ResizeObserverController;
148 class ResourceFetcher; 148 class ResourceFetcher;
149 class RootScrollerController; 149 class RootScrollerController;
150 class SVGDocumentExtensions; 150 class SVGDocumentExtensions;
151 class SVGUseElement; 151 class SVGUseElement;
152 class ScriptElementBase; 152 class ScriptElementBase;
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;
158 class SecurityOrigin; 157 class SecurityOrigin;
159 class SegmentedString; 158 class SegmentedString;
160 class SelectorQueryCache; 159 class SelectorQueryCache;
161 class SerializedScriptValue; 160 class SerializedScriptValue;
162 class Settings; 161 class Settings;
163 class SnapCoordinator; 162 class SnapCoordinator;
164 class StringOrDictionary; 163 class StringOrDictionary;
165 class StyleEngine; 164 class StyleEngine;
166 class StyleResolver; 165 class StyleResolver;
167 class StyleSheetList; 166 class StyleSheetList;
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 706
708 void setActiveHoverElement(Element*); 707 void setActiveHoverElement(Element*);
709 Element* activeHoverElement() const { return m_activeHoverElement.get(); } 708 Element* activeHoverElement() const { return m_activeHoverElement.get(); }
710 709
711 Node* hoverNode() const { return m_hoverNode.get(); } 710 Node* hoverNode() const { return m_hoverNode.get(); }
712 711
713 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); 712 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false);
714 void hoveredNodeDetached(Element&); 713 void hoveredNodeDetached(Element&);
715 void activeChainNodeDetached(Element&); 714 void activeChainNodeDetached(Element&);
716 715
717 void updateHoverActiveState(const HitTestRequest&, Element*, Scrollbar*); 716 void updateHoverActiveState(const HitTestRequest&, Element*);
718 717
719 // Updates for :target (CSS3 selector). 718 // Updates for :target (CSS3 selector).
720 void setCSSTarget(Element*); 719 void setCSSTarget(Element*);
721 Element* cssTarget() const { return m_cssTarget; } 720 Element* cssTarget() const { return m_cssTarget; }
722 721
723 void scheduleLayoutTreeUpdateIfNeeded(); 722 void scheduleLayoutTreeUpdateIfNeeded();
724 bool hasPendingForcedStyleRecalc() const; 723 bool hasPendingForcedStyleRecalc() const;
725 724
726 void registerNodeList(const LiveNodeListBase*); 725 void registerNodeList(const LiveNodeListBase*);
727 void unregisterNodeList(const LiveNodeListBase*); 726 void unregisterNodeList(const LiveNodeListBase*);
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
1711 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1710 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1712 1711
1713 } // namespace blink 1712 } // namespace blink
1714 1713
1715 #ifndef NDEBUG 1714 #ifndef NDEBUG
1716 // Outside the WebCore namespace for ease of invocation from gdb. 1715 // Outside the WebCore namespace for ease of invocation from gdb.
1717 CORE_EXPORT void showLiveDocumentInstances(); 1716 CORE_EXPORT void showLiveDocumentInstances();
1718 #endif 1717 #endif
1719 1718
1720 #endif // Document_h 1719 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698