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

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

Issue 1913843004: Implementing document.setRootScroller API for main thread scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@overscrollController
Patch Set: Created 4 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 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 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 WebTaskRunner* loadingTaskRunner() const; 1057 WebTaskRunner* loadingTaskRunner() const;
1058 WebTaskRunner* timerTaskRunner() const; 1058 WebTaskRunner* timerTaskRunner() const;
1059 1059
1060 void enforceStrictMixedContentChecking(); 1060 void enforceStrictMixedContentChecking();
1061 1061
1062 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; } 1062 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; }
1063 1063
1064 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; } 1064 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; }
1065 void setShadowCascadeOrder(ShadowCascadeOrder); 1065 void setShadowCascadeOrder(ShadowCascadeOrder);
1066 1066
1067 void setRootScroller(Element*, ExceptionState&);
1068 Element* rootScroller();
1069
1067 protected: 1070 protected:
1068 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); 1071 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
1069 1072
1070 void didUpdateSecurityOrigin() final; 1073 void didUpdateSecurityOrigin() final;
1071 1074
1072 void clearXMLVersion() { m_xmlVersion = String(); } 1075 void clearXMLVersion() { m_xmlVersion = String(); }
1073 1076
1074 virtual Document* cloneDocumentWithoutChildren(); 1077 virtual Document* cloneDocumentWithoutChildren();
1075 1078
1076 bool importContainerNodeChildren(ContainerNode* oldContainerNode, ContainerN ode* newContainerNode, ExceptionState&); 1079 bool importContainerNodeChildren(ContainerNode* oldContainerNode, ContainerN ode* newContainerNode, ExceptionState&);
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1433 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1431 1434
1432 } // namespace blink 1435 } // namespace blink
1433 1436
1434 #ifndef NDEBUG 1437 #ifndef NDEBUG
1435 // Outside the WebCore namespace for ease of invocation from gdb. 1438 // Outside the WebCore namespace for ease of invocation from gdb.
1436 CORE_EXPORT void showLiveDocumentInstances(); 1439 CORE_EXPORT void showLiveDocumentInstances();
1437 #endif 1440 #endif
1438 1441
1439 #endif // Document_h 1442 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698