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/RootScroller.h" | |
6 | |
7 #include "core/frame/FrameHost.h" | 5 #include "core/frame/FrameHost.h" |
8 #include "core/frame/FrameView.h" | 6 #include "core/frame/FrameView.h" |
9 #include "core/frame/TopControls.h" | 7 #include "core/frame/TopControls.h" |
10 #include "core/html/HTMLFrameOwnerElement.h" | 8 #include "core/html/HTMLFrameOwnerElement.h" |
11 #include "core/page/Page.h" | 9 #include "core/page/Page.h" |
12 #include "platform/testing/URLTestHelpers.h" | 10 #include "platform/testing/URLTestHelpers.h" |
13 #include "platform/testing/UnitTestHelpers.h" | 11 #include "platform/testing/UnitTestHelpers.h" |
14 #include "public/platform/Platform.h" | 12 #include "public/platform/Platform.h" |
15 #include "public/platform/WebURLLoaderMockFactory.h" | 13 #include "public/platform/WebURLLoaderMockFactory.h" |
16 #include "public/web/WebCache.h" | 14 #include "public/web/WebCache.h" |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 body, | 490 body, |
493 exceptionState); | 491 exceptionState); |
494 | 492 |
495 ASSERT_EQ(body, iframe->contentDocument()->rootScroller()); | 493 ASSERT_EQ(body, iframe->contentDocument()->rootScroller()); |
496 } | 494 } |
497 } | 495 } |
498 | 496 |
499 } // namespace | 497 } // namespace |
500 | 498 |
501 } // namespace blink | 499 } // namespace blink |
OLD | NEW |