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

Side by Side Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_item_result.cc

Issue 2865903002: [LayoutNG] Inline margin/border/padding, inter-item breaking, and tests (Closed)
Patch Set: ikilpatrick review Created 3 years, 6 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 2017 The Chromium Authors. All rights reserved. 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 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_item_result.h" 5 #include "core/layout/ng/inline/ng_inline_item_result.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 NGInlineItemResult::NGInlineItemResult() {} 9 NGInlineItemResult::NGInlineItemResult() {}
10 10
11 NGInlineItemResult::NGInlineItemResult(unsigned index, 11 NGInlineItemResult::NGInlineItemResult(unsigned index,
12 unsigned start, 12 unsigned start,
13 unsigned end) 13 unsigned end)
14 : item_index(index), start_offset(start), end_offset(end) {} 14 : item_index(index),
15 start_offset(start),
16 end_offset(end),
17 no_break_opportunities_inside(false),
18 prohibit_break_after(false) {}
15 19
16 } // namespace blink 20 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698