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/layout/LayoutTestHelper.h" | 5 #include "core/layout/LayoutTestHelper.h" |
6 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" | 6 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" |
7 #include "platform/testing/UnitTestHelpers.h" | 7 #include "platform/testing/UnitTestHelpers.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 22 matching lines...) Expand all Loading... |
33 // FrameView, accounting for differences from the RootLayerScrolls setting. | 33 // FrameView, accounting for differences from the RootLayerScrolls setting. |
34 const TransformPaintPropertyNode* framePreTranslation(); | 34 const TransformPaintPropertyNode* framePreTranslation(); |
35 const TransformPaintPropertyNode* frameScrollTranslation(); | 35 const TransformPaintPropertyNode* frameScrollTranslation(); |
36 const ClipPaintPropertyNode* frameContentClip(); | 36 const ClipPaintPropertyNode* frameContentClip(); |
37 const ScrollPaintPropertyNode* frameScroll(FrameView* = nullptr); | 37 const ScrollPaintPropertyNode* frameScroll(FrameView* = nullptr); |
38 | 38 |
39 // Return the local border box's paint offset. For more details, see | 39 // Return the local border box's paint offset. For more details, see |
40 // ObjectPaintProperties::localBorderBoxProperties(). | 40 // ObjectPaintProperties::localBorderBoxProperties(). |
41 LayoutPoint paintOffset(const LayoutObject*); | 41 LayoutPoint paintOffset(const LayoutObject*); |
42 | 42 |
| 43 const ObjectPaintProperties* paintPropertiesForElement(const char* name); |
| 44 |
43 private: | 45 private: |
44 void SetUp() override; | 46 void SetUp() override; |
45 void TearDown() override; | 47 void TearDown() override; |
46 }; | 48 }; |
47 | 49 |
48 } // namespace blink | 50 } // namespace blink |
OLD | NEW |