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/frame/FrameView.h" | 5 #include "core/frame/FrameView.h" |
6 #include "core/layout/LayoutBoxModelObject.h" | 6 #include "core/layout/LayoutBoxModelObject.h" |
7 #include "core/layout/LayoutTestHelper.h" | 7 #include "core/layout/LayoutTestHelper.h" |
8 #include "core/layout/api/LayoutViewItem.h" | |
9 #include "core/paint/PaintLayer.h" | 8 #include "core/paint/PaintLayer.h" |
10 #include "core/paint/PaintLayerScrollableArea.h" | 9 #include "core/paint/PaintLayerScrollableArea.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
12 | 11 |
13 namespace blink { | 12 namespace blink { |
14 | 13 |
15 class PaintLayerScrollableAreaTest : public RenderingTest { | 14 class PaintLayerScrollableAreaTest : public RenderingTest { |
16 public: | 15 public: |
17 PaintLayerScrollableAreaTest() | 16 PaintLayerScrollableAreaTest() |
18 : RenderingTest(SingleChildFrameLoaderClient::create()) | 17 : RenderingTest(SingleChildFrameLoaderClient::create()) |
19 { } | 18 { } |
20 | 19 |
21 private: | 20 private: |
22 void SetUp() override | 21 void SetUp() override |
23 { | 22 { |
24 RenderingTest::SetUp(); | 23 RenderingTest::SetUp(); |
25 enableCompositing(); | 24 enableCompositing(); |
26 } | 25 } |
27 | 26 |
28 void TearDown() override | 27 void TearDown() override |
29 { | 28 { |
30 RenderingTest::TearDown(); | 29 RenderingTest::TearDown(); |
31 } | 30 } |
32 }; | 31 }; |
33 | 32 |
34 } | 33 } |
OLD | NEW |