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

Side by Side Diff: third_party/WebKit/Source/core/layout/line/InlineTextBoxTest.cpp

Issue 2536453002: Rename some functions about layout locations (Closed)
Patch Set: Rebase Created 4 years 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/line/InlineTextBox.h" 5 #include "core/layout/line/InlineTextBox.h"
6 6
7 #include "core/layout/LayoutTestHelper.h" 7 #include "core/layout/LayoutTestHelper.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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 overflow.expand(LayoutSize(10, 10)); 75 overflow.expand(LayoutSize(10, 10));
76 box->setLogicalOverflowRect(overflow); 76 box->setLogicalOverflowRect(overflow);
77 ASSERT_EQ(frame, box->logicalFrameRect()); 77 ASSERT_EQ(frame, box->logicalFrameRect());
78 ASSERT_EQ(overflow, box->logicalOverflowRect()); 78 ASSERT_EQ(overflow, box->logicalOverflowRect());
79 79
80 // Ensure it's still movable correctly. 80 // Ensure it's still movable correctly.
81 moveAndTest(box, move, frame, overflow); 81 moveAndTest(box, move, frame, overflow);
82 } 82 }
83 83
84 } // namespace blink 84 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698