OLD | NEW |
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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 class StyleEngine; | 161 class StyleEngine; |
162 class StyleResolver; | 162 class StyleResolver; |
163 class StyleSheet; | 163 class StyleSheet; |
164 class StyleSheetList; | 164 class StyleSheetList; |
165 class Text; | 165 class Text; |
166 class TextAutosizer; | 166 class TextAutosizer; |
167 class Touch; | 167 class Touch; |
168 class TouchList; | 168 class TouchList; |
169 class TransformSource; | 169 class TransformSource; |
170 class TreeWalker; | 170 class TreeWalker; |
171 class ViewportScrollCallback; | |
172 class VisitedLinkState; | 171 class VisitedLinkState; |
173 class VisualViewport; | 172 class VisualViewport; |
174 class WebGLRenderingContext; | 173 class WebGLRenderingContext; |
175 enum class SelectionBehaviorOnFocus; | 174 enum class SelectionBehaviorOnFocus; |
176 struct AnnotatedRegionValue; | 175 struct AnnotatedRegionValue; |
177 struct FocusParams; | 176 struct FocusParams; |
178 struct IconURL; | 177 struct IconURL; |
179 | 178 |
180 using MouseEventWithHitTestResults = EventWithHitTestResults<PlatformMouseEvent>
; | 179 using MouseEventWithHitTestResults = EventWithHitTestResults<PlatformMouseEvent>
; |
181 using ExceptionCode = int; | 180 using ExceptionCode = int; |
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1077 | 1076 |
1078 void enforceInsecureRequestPolicy(WebInsecureRequestPolicy); | 1077 void enforceInsecureRequestPolicy(WebInsecureRequestPolicy); |
1079 | 1078 |
1080 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; } | 1079 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; } |
1081 | 1080 |
1082 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder;
} | 1081 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder;
} |
1083 void setShadowCascadeOrder(ShadowCascadeOrder); | 1082 void setShadowCascadeOrder(ShadowCascadeOrder); |
1084 | 1083 |
1085 bool containsV1ShadowTree() const { return m_shadowCascadeOrder == ShadowCas
cadeOrder::ShadowCascadeV1; } | 1084 bool containsV1ShadowTree() const { return m_shadowCascadeOrder == ShadowCas
cadeOrder::ShadowCascadeV1; } |
1086 | 1085 |
1087 void initializeRootScroller(ViewportScrollCallback*); | |
1088 Element* rootScroller() const; | 1086 Element* rootScroller() const; |
1089 void setRootScroller(Element*, ExceptionState&); | 1087 void setRootScroller(Element*, ExceptionState&); |
1090 RootScrollerController* rootScrollerController() const { return m_rootScroll
erController.get(); } | 1088 RootScrollerController* rootScrollerController() const { return m_rootScroll
erController.get(); } |
1091 | 1089 |
1092 // TODO(bokan): Temporarily added to allow ScrollCustomization to properly | |
1093 // opt out for wheel scrolls. crbug.com/623079. | |
1094 bool isViewportScrollCallback(const ScrollStateCallback*); | |
1095 | |
1096 bool isInMainFrame() const; | 1090 bool isInMainFrame() const; |
1097 | 1091 |
1098 protected: | 1092 protected: |
1099 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); | 1093 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); |
1100 | 1094 |
1101 void didUpdateSecurityOrigin() final; | 1095 void didUpdateSecurityOrigin() final; |
1102 | 1096 |
1103 void clearXMLVersion() { m_xmlVersion = String(); } | 1097 void clearXMLVersion() { m_xmlVersion = String(); } |
1104 | 1098 |
1105 virtual Document* cloneDocumentWithoutChildren(); | 1099 virtual Document* cloneDocumentWithoutChildren(); |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1459 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); | 1453 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); |
1460 | 1454 |
1461 } // namespace blink | 1455 } // namespace blink |
1462 | 1456 |
1463 #ifndef NDEBUG | 1457 #ifndef NDEBUG |
1464 // Outside the WebCore namespace for ease of invocation from gdb. | 1458 // Outside the WebCore namespace for ease of invocation from gdb. |
1465 CORE_EXPORT void showLiveDocumentInstances(); | 1459 CORE_EXPORT void showLiveDocumentInstances(); |
1466 #endif | 1460 #endif |
1467 | 1461 |
1468 #endif // Document_h | 1462 #endif // Document_h |
OLD | NEW |