Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.h

Issue 2608543002: Store compositor element id in paint properties for animated objects. (Closed)
Patch Set: Sync to head. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698