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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/ng_base_layout_algorithm_test.h

Issue 2739683006: Use Opportunity Iterator to position text fragments in NGLineBuilder (Closed)
Patch Set: Created 3 years, 9 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "core/layout/LayoutTestHelper.h"
6
7 #include "core/dom/Element.h"
8 #include "core/layout/ng/ng_constraint_space.h"
9 #include "core/layout/ng/ng_physical_box_fragment.h"
10 #include "testing/gtest/include/gtest/gtest.h"
11
12 namespace blink {
13
14 // Base class for all NG Layout Algorithms unit test classes.
ikilpatrick 2017/03/09 22:00:51 s/NG Layout/LayoutNG
Gleb Lanbin 2017/03/09 22:26:45 Done.
15 typedef bool TestParamLayoutNG;
16 class NGBaseLayoutAlgorithmTest
17 : public ::testing::WithParamInterface<TestParamLayoutNG>,
18 public RenderingTest {
19 public:
20 NGBaseLayoutAlgorithmTest();
21 ~NGBaseLayoutAlgorithmTest();
22
23 protected:
24 void SetUp() override;
25
26 std::pair<RefPtr<NGPhysicalBoxFragment>, RefPtr<NGConstraintSpace>>
27 RunBlockLayoutAlgorithmForElement(Element* element);
28 };
29
30 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698