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/dom/ClientRect.h" | 5 #include "core/dom/ClientRect.h" |
6 #include "core/frame/BrowserControls.h" | 6 #include "core/frame/BrowserControls.h" |
7 #include "core/frame/FrameHost.h" | 7 #include "core/frame/FrameHost.h" |
8 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
9 #include "core/frame/RootFrameViewport.h" | 9 #include "core/frame/RootFrameViewport.h" |
10 #include "core/frame/VisualViewport.h" | 10 #include "core/frame/VisualViewport.h" |
11 #include "core/html/HTMLFrameOwnerElement.h" | 11 #include "core/html/HTMLFrameOwnerElement.h" |
12 #include "core/layout/LayoutBox.h" | 12 #include "core/layout/LayoutBox.h" |
13 #include "core/layout/api/LayoutViewItem.h" | 13 #include "core/layout/api/LayoutViewItem.h" |
14 #include "core/layout/compositing/CompositedLayerMapping.h" | 14 #include "core/layout/compositing/CompositedLayerMapping.h" |
15 #include "core/layout/compositing/PaintLayerCompositor.h" | 15 #include "core/layout/compositing/PaintLayerCompositor.h" |
16 #include "core/page/Page.h" | 16 #include "core/page/Page.h" |
17 #include "core/page/scrolling/RootScrollerController.h" | 17 #include "core/page/scrolling/RootScrollerController.h" |
18 #include "core/page/scrolling/TopDocumentRootScrollerController.h" | 18 #include "core/page/scrolling/TopDocumentRootScrollerController.h" |
19 #include "core/paint/PaintLayer.h" | 19 #include "core/paint/PaintLayer.h" |
20 #include "core/paint/PaintLayerScrollableArea.h" | 20 #include "core/paint/PaintLayerScrollableArea.h" |
21 #include "platform/testing/URLTestHelpers.h" | 21 #include "platform/testing/URLTestHelpers.h" |
22 #include "platform/testing/UnitTestHelpers.h" | 22 #include "platform/testing/UnitTestHelpers.h" |
23 #include "public/platform/Platform.h" | 23 #include "public/platform/Platform.h" |
| 24 #include "public/platform/WebCache.h" |
24 #include "public/platform/WebURLLoaderMockFactory.h" | 25 #include "public/platform/WebURLLoaderMockFactory.h" |
25 #include "public/web/WebCache.h" | |
26 #include "public/web/WebConsoleMessage.h" | 26 #include "public/web/WebConsoleMessage.h" |
27 #include "public/web/WebRemoteFrame.h" | 27 #include "public/web/WebRemoteFrame.h" |
28 #include "public/web/WebScriptSource.h" | 28 #include "public/web/WebScriptSource.h" |
29 #include "public/web/WebSettings.h" | 29 #include "public/web/WebSettings.h" |
30 #include "testing/gtest/include/gtest/gtest.h" | 30 #include "testing/gtest/include/gtest/gtest.h" |
31 #include "web/WebLocalFrameImpl.h" | 31 #include "web/WebLocalFrameImpl.h" |
32 #include "web/WebRemoteFrameImpl.h" | 32 #include "web/WebRemoteFrameImpl.h" |
33 #include "web/tests/FrameTestHelpers.h" | 33 #include "web/tests/FrameTestHelpers.h" |
34 #include "wtf/Vector.h" | 34 #include "wtf/Vector.h" |
35 | 35 |
(...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1312 // FrameView without a layout. | 1312 // FrameView without a layout. |
1313 iframe->remove(); | 1313 iframe->remove(); |
1314 | 1314 |
1315 EXPECT_EQ(mainFrameView()->layoutViewportScrollableArea(), | 1315 EXPECT_EQ(mainFrameView()->layoutViewportScrollableArea(), |
1316 &mainFrameView()->getRootFrameViewport()->layoutViewport()); | 1316 &mainFrameView()->getRootFrameViewport()->layoutViewport()); |
1317 } | 1317 } |
1318 | 1318 |
1319 } // namespace | 1319 } // namespace |
1320 | 1320 |
1321 } // namespace blink | 1321 } // namespace blink |
OLD | NEW |