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

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

Issue 2069713002: Make all gesture scrolls use customization path internally (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + Fix test Created 4 years, 6 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 r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 class QualifiedName; 143 class QualifiedName;
144 class Range; 144 class Range;
145 class ResourceFetcher; 145 class ResourceFetcher;
146 class RootScrollerController; 146 class RootScrollerController;
147 class SVGDocumentExtensions; 147 class SVGDocumentExtensions;
148 class SVGUseElement; 148 class SVGUseElement;
149 class ScriptRunner; 149 class ScriptRunner;
150 class ScriptableDocumentParser; 150 class ScriptableDocumentParser;
151 class ScriptedAnimationController; 151 class ScriptedAnimationController;
152 class ScriptedIdleTaskController; 152 class ScriptedIdleTaskController;
153 class ScrollStateCallback;
153 class SecurityOrigin; 154 class SecurityOrigin;
154 class SegmentedString; 155 class SegmentedString;
155 class SelectorQueryCache; 156 class SelectorQueryCache;
156 class SerializedScriptValue; 157 class SerializedScriptValue;
157 class Settings; 158 class Settings;
158 class SnapCoordinator; 159 class SnapCoordinator;
159 class StyleEngine; 160 class StyleEngine;
160 class StyleResolver; 161 class StyleResolver;
161 class StyleSheet; 162 class StyleSheet;
162 class StyleSheetList; 163 class StyleSheetList;
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 1077
1077 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; } 1078 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; }
1078 1079
1079 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; } 1080 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; }
1080 void setShadowCascadeOrder(ShadowCascadeOrder); 1081 void setShadowCascadeOrder(ShadowCascadeOrder);
1081 1082
1082 bool containsV1ShadowTree() const { return m_shadowCascadeOrder == ShadowCas cadeOrder::ShadowCascadeV1; } 1083 bool containsV1ShadowTree() const { return m_shadowCascadeOrder == ShadowCas cadeOrder::ShadowCascadeV1; }
1083 1084
1084 Element* rootScroller() const; 1085 Element* rootScroller() const;
1085 void setRootScroller(Element*, ExceptionState&); 1086 void setRootScroller(Element*, ExceptionState&);
1086 bool isEffectiveRootScroller(const Element&) const; 1087 const Element* effectiveRootScroller() const;
1088
1089 // TODO(bokan): Temporarily added to allow ScrollCustomization to properly
1090 // opt out for wheel scrolls. crbug.com/623079.
1091 bool isViewportScrollCallback(const ScrollStateCallback*);
1087 1092
1088 bool isInMainFrame() const; 1093 bool isInMainFrame() const;
1089 1094
1090 protected: 1095 protected:
1091 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); 1096 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
1092 1097
1093 void didUpdateSecurityOrigin() final; 1098 void didUpdateSecurityOrigin() final;
1094 1099
1095 void clearXMLVersion() { m_xmlVersion = String(); } 1100 void clearXMLVersion() { m_xmlVersion = String(); }
1096 1101
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1458 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1454 1459
1455 } // namespace blink 1460 } // namespace blink
1456 1461
1457 #ifndef NDEBUG 1462 #ifndef NDEBUG
1458 // Outside the WebCore namespace for ease of invocation from gdb. 1463 // Outside the WebCore namespace for ease of invocation from gdb.
1459 CORE_EXPORT void showLiveDocumentInstances(); 1464 CORE_EXPORT void showLiveDocumentInstances();
1460 #endif 1465 #endif
1461 1466
1462 #endif // Document_h 1467 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698