| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/page/scrolling/TopDocumentRootScrollerController.h" | 5 #include "core/page/scrolling/TopDocumentRootScrollerController.h" |
| 6 | 6 |
| 7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 8 #include "core/dom/Element.h" | 8 #include "core/dom/Element.h" |
| 9 #include "core/frame/FrameHost.h" | |
| 10 #include "core/frame/FrameView.h" | 9 #include "core/frame/FrameView.h" |
| 11 #include "core/frame/PageScaleConstraintsSet.h" | 10 #include "core/frame/PageScaleConstraintsSet.h" |
| 12 #include "core/frame/VisualViewport.h" | 11 #include "core/frame/VisualViewport.h" |
| 13 #include "core/html/HTMLFrameOwnerElement.h" | 12 #include "core/html/HTMLFrameOwnerElement.h" |
| 14 #include "core/layout/LayoutView.h" | 13 #include "core/layout/LayoutView.h" |
| 15 #include "core/layout/compositing/PaintLayerCompositor.h" | 14 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 16 #include "core/page/ChromeClient.h" | 15 #include "core/page/ChromeClient.h" |
| 17 #include "core/page/Page.h" | 16 #include "core/page/Page.h" |
| 18 #include "core/page/scrolling/OverscrollController.h" | 17 #include "core/page/scrolling/OverscrollController.h" |
| 19 #include "core/page/scrolling/RootScrollerUtil.h" | 18 #include "core/page/scrolling/RootScrollerUtil.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 203 |
| 205 PaintLayer* TopDocumentRootScrollerController::rootScrollerPaintLayer() const { | 204 PaintLayer* TopDocumentRootScrollerController::rootScrollerPaintLayer() const { |
| 206 return RootScrollerUtil::paintLayerForRootScroller(m_globalRootScroller); | 205 return RootScrollerUtil::paintLayerForRootScroller(m_globalRootScroller); |
| 207 } | 206 } |
| 208 | 207 |
| 209 Element* TopDocumentRootScrollerController::globalRootScroller() const { | 208 Element* TopDocumentRootScrollerController::globalRootScroller() const { |
| 210 return m_globalRootScroller.get(); | 209 return m_globalRootScroller.get(); |
| 211 } | 210 } |
| 212 | 211 |
| 213 } // namespace blink | 212 } // namespace blink |
| OLD | NEW |