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

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: Fixing bad rebase Created 4 years, 7 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 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 WebTaskRunner* loadingTaskRunner() const; 1058 WebTaskRunner* loadingTaskRunner() const;
1059 WebTaskRunner* timerTaskRunner() const; 1059 WebTaskRunner* timerTaskRunner() const;
1060 1060
1061 void enforceStrictMixedContentChecking(); 1061 void enforceStrictMixedContentChecking();
1062 1062
1063 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; } 1063 bool mayContainV0Shadow() const { return m_mayContainV0Shadow; }
1064 1064
1065 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; } 1065 ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; }
1066 void setShadowCascadeOrder(ShadowCascadeOrder); 1066 void setShadowCascadeOrder(ShadowCascadeOrder);
1067 1067
1068 void setRootScroller(Element*, ExceptionState&);
1069 Element* rootScroller();
1070
1068 protected: 1071 protected:
1069 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass); 1072 Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
1070 1073
1071 void didUpdateSecurityOrigin() final; 1074 void didUpdateSecurityOrigin() final;
1072 1075
1073 void clearXMLVersion() { m_xmlVersion = String(); } 1076 void clearXMLVersion() { m_xmlVersion = String(); }
1074 1077
1075 virtual Document* cloneDocumentWithoutChildren(); 1078 virtual Document* cloneDocumentWithoutChildren();
1076 1079
1077 bool importContainerNodeChildren(ContainerNode* oldContainerNode, ContainerN ode* newContainerNode, ExceptionState&); 1080 bool importContainerNodeChildren(ContainerNode* oldContainerNode, ContainerN ode* newContainerNode, ExceptionState&);
(...skipping 352 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