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

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

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. 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/ng/ng_constraint_space_builder.h" 5 #include "core/layout/ng/ng_constraint_space_builder.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 NGConstraintSpaceBuilder::NGConstraintSpaceBuilder( 9 NGConstraintSpaceBuilder::NGConstraintSpaceBuilder(
10 const NGConstraintSpace* parent_space) 10 const NGConstraintSpace* parent_space)
(...skipping 14 matching lines...) Expand all
25 NGConstraintSpaceBuilder::NGConstraintSpaceBuilder(NGWritingMode writing_mode) 25 NGConstraintSpaceBuilder::NGConstraintSpaceBuilder(NGWritingMode writing_mode)
26 : writing_mode_(writing_mode), 26 : writing_mode_(writing_mode),
27 parent_writing_mode_(writing_mode_), 27 parent_writing_mode_(writing_mode_),
28 is_fixed_size_inline_(false), 28 is_fixed_size_inline_(false),
29 is_fixed_size_block_(false), 29 is_fixed_size_block_(false),
30 is_shrink_to_fit_(false), 30 is_shrink_to_fit_(false),
31 is_inline_direction_triggers_scrollbar_(false), 31 is_inline_direction_triggers_scrollbar_(false),
32 is_block_direction_triggers_scrollbar_(false), 32 is_block_direction_triggers_scrollbar_(false),
33 fragmentation_type_(kFragmentNone), 33 fragmentation_type_(kFragmentNone),
34 is_new_fc_(false), 34 is_new_fc_(false),
35 text_direction_(static_cast<unsigned>(TextDirection::Ltr)), 35 text_direction_(static_cast<unsigned>(TextDirection::kLtr)),
36 exclusions_(new NGExclusions()) {} 36 exclusions_(new NGExclusions()) {}
37 37
38 NGConstraintSpaceBuilder& NGConstraintSpaceBuilder::SetAvailableSize( 38 NGConstraintSpaceBuilder& NGConstraintSpaceBuilder::SetAvailableSize(
39 NGLogicalSize available_size) { 39 NGLogicalSize available_size) {
40 available_size_ = available_size; 40 available_size_ = available_size;
41 return *this; 41 return *this;
42 } 42 }
43 43
44 NGConstraintSpaceBuilder& NGConstraintSpaceBuilder::SetPercentageResolutionSize( 44 NGConstraintSpaceBuilder& NGConstraintSpaceBuilder::SetPercentageResolutionSize(
45 NGLogicalSize percentage_resolution_size) { 45 NGLogicalSize percentage_resolution_size) {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 {percentage_resolution_size_.block_size, 136 {percentage_resolution_size_.block_size,
137 percentage_resolution_size_.inline_size}, 137 percentage_resolution_size_.inline_size},
138 is_fixed_size_block_, is_fixed_size_inline_, is_shrink_to_fit_, 138 is_fixed_size_block_, is_fixed_size_inline_, is_shrink_to_fit_,
139 is_block_direction_triggers_scrollbar_, 139 is_block_direction_triggers_scrollbar_,
140 is_inline_direction_triggers_scrollbar_, 140 is_inline_direction_triggers_scrollbar_,
141 static_cast<NGFragmentationType>(fragmentation_type_), is_new_fc_, 141 static_cast<NGFragmentationType>(fragmentation_type_), is_new_fc_,
142 exclusions); 142 exclusions);
143 } 143 }
144 144
145 } // namespace blink 145 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698