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 "bindings/core/v8/NodeOrString.h" | 5 #include "bindings/core/v8/NodeOrString.h" |
6 #include "core/dom/ClientRect.h" | 6 #include "core/dom/ClientRect.h" |
7 #include "core/frame/BrowserControls.h" | 7 #include "core/frame/BrowserControls.h" |
8 #include "core/frame/LocalFrameView.h" | 8 #include "core/frame/LocalFrameView.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/frame/WebLocalFrameBase.h" |
11 #include "core/html/HTMLFrameOwnerElement.h" | 12 #include "core/html/HTMLFrameOwnerElement.h" |
12 #include "core/layout/LayoutBox.h" | 13 #include "core/layout/LayoutBox.h" |
13 #include "core/layout/api/LayoutViewItem.h" | 14 #include "core/layout/api/LayoutViewItem.h" |
14 #include "core/layout/compositing/CompositedLayerMapping.h" | 15 #include "core/layout/compositing/CompositedLayerMapping.h" |
15 #include "core/layout/compositing/PaintLayerCompositor.h" | 16 #include "core/layout/compositing/PaintLayerCompositor.h" |
16 #include "core/page/Page.h" | 17 #include "core/page/Page.h" |
17 #include "core/page/scrolling/RootScrollerController.h" | 18 #include "core/page/scrolling/RootScrollerController.h" |
18 #include "core/page/scrolling/TopDocumentRootScrollerController.h" | 19 #include "core/page/scrolling/TopDocumentRootScrollerController.h" |
19 #include "core/paint/PaintLayer.h" | 20 #include "core/paint/PaintLayer.h" |
20 #include "core/paint/PaintLayerScrollableArea.h" | 21 #include "core/paint/PaintLayerScrollableArea.h" |
21 #include "platform/testing/URLTestHelpers.h" | 22 #include "platform/testing/URLTestHelpers.h" |
22 #include "platform/testing/UnitTestHelpers.h" | 23 #include "platform/testing/UnitTestHelpers.h" |
23 #include "platform/wtf/Vector.h" | 24 #include "platform/wtf/Vector.h" |
24 #include "public/platform/Platform.h" | 25 #include "public/platform/Platform.h" |
25 #include "public/platform/WebCoalescedInputEvent.h" | 26 #include "public/platform/WebCoalescedInputEvent.h" |
26 #include "public/platform/WebURLLoaderMockFactory.h" | 27 #include "public/platform/WebURLLoaderMockFactory.h" |
27 #include "public/web/WebConsoleMessage.h" | 28 #include "public/web/WebConsoleMessage.h" |
28 #include "public/web/WebHitTestResult.h" | 29 #include "public/web/WebHitTestResult.h" |
29 #include "public/web/WebRemoteFrame.h" | 30 #include "public/web/WebRemoteFrame.h" |
30 #include "public/web/WebScriptSource.h" | 31 #include "public/web/WebScriptSource.h" |
31 #include "public/web/WebSettings.h" | 32 #include "public/web/WebSettings.h" |
32 #include "testing/gtest/include/gtest/gtest.h" | 33 #include "testing/gtest/include/gtest/gtest.h" |
33 #include "web/WebLocalFrameImpl.h" | |
34 #include "web/WebRemoteFrameImpl.h" | 34 #include "web/WebRemoteFrameImpl.h" |
35 #include "web/tests/FrameTestHelpers.h" | 35 #include "web/tests/FrameTestHelpers.h" |
36 | 36 |
37 using blink::testing::RunPendingTasks; | 37 using blink::testing::RunPendingTasks; |
38 using testing::Mock; | 38 using testing::Mock; |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 namespace { | 42 namespace { |
43 | 43 |
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1135 // Ensure the target and container weren't put into the same layer. | 1135 // Ensure the target and container weren't put into the same layer. |
1136 ASSERT_NE(ToLayoutBox(target->GetLayoutObject())->EnclosingLayer(), | 1136 ASSERT_NE(ToLayoutBox(target->GetLayoutObject())->EnclosingLayer(), |
1137 ToLayoutBox(container->GetLayoutObject())->Layer()); | 1137 ToLayoutBox(container->GetLayoutObject())->Layer()); |
1138 | 1138 |
1139 CheckHitTestAtBottomOfScreen(); | 1139 CheckHitTestAtBottomOfScreen(); |
1140 } | 1140 } |
1141 | 1141 |
1142 } // namespace | 1142 } // namespace |
1143 | 1143 |
1144 } // namespace blink | 1144 } // namespace blink |
OLD | NEW |