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

Side by Side Diff: third_party/WebKit/Source/web/tests/NGInlineLayoutTest.cpp

Issue 2811783002: [LayoutNG] Move inline files to the inline directory (Closed)
Patch Set: Fix unit tests Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_text_fragment_builder.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/ng/inline/ng_inline_node.h"
5 #include "core/layout/ng/layout_ng_block_flow.h" 6 #include "core/layout/ng/layout_ng_block_flow.h"
6 #include "core/layout/ng/ng_block_layout_algorithm.h" 7 #include "core/layout/ng/ng_block_layout_algorithm.h"
7 #include "core/layout/ng/ng_constraint_space_builder.h" 8 #include "core/layout/ng/ng_constraint_space_builder.h"
8 #include "core/layout/ng/ng_inline_node.h"
9 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" 9 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h"
10 #include "platform/testing/UnitTestHelpers.h" 10 #include "platform/testing/UnitTestHelpers.h"
11 #include "platform/wtf/CurrentTime.h" 11 #include "platform/wtf/CurrentTime.h"
12 #include "platform/wtf/text/CharacterNames.h" 12 #include "platform/wtf/text/CharacterNames.h"
13 #include "web/WebViewImpl.h" 13 #include "web/WebViewImpl.h"
14 #include "web/tests/sim/SimCompositor.h" 14 #include "web/tests/sim/SimCompositor.h"
15 #include "web/tests/sim/SimDisplayItemList.h" 15 #include "web/tests/sim/SimDisplayItemList.h"
16 #include "web/tests/sim/SimRequest.h" 16 #include "web/tests/sim/SimRequest.h"
17 #include "web/tests/sim/SimTest.h" 17 #include "web/tests/sim/SimTest.h"
18 18
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 String expected_text("Hello "); 82 String expected_text("Hello ");
83 expected_text.Append(kObjectReplacementCharacter); 83 expected_text.Append(kObjectReplacementCharacter);
84 expected_text.Append("."); 84 expected_text.Append(".");
85 EXPECT_EQ(expected_text, ToNGInlineNode(node->FirstChild())->Text(0, 8)); 85 EXPECT_EQ(expected_text, ToNGInlineNode(node->FirstChild())->Text(0, 8));
86 86
87 // Delete the line box tree to avoid leaks in the test. 87 // Delete the line box tree to avoid leaks in the test.
88 block_flow->DeleteLineBoxTree(); 88 block_flow->DeleteLineBoxTree();
89 } 89 }
90 90
91 } // namespace blink 91 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_text_fragment_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698