| Index: third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dbb82c2d9e360550af535a1014f66bf4a5962612
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_physical_constraint_space.cc
|
| @@ -0,0 +1,45 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "core/layout/ng/ng_physical_constraint_space.h"
|
| +
|
| +#include "core/layout/LayoutBox.h"
|
| +#include "core/style/ComputedStyle.h"
|
| +
|
| +namespace blink {
|
| +
|
| +NGPhysicalConstraintSpace::NGPhysicalConstraintSpace()
|
| + : fixed_width_(0),
|
| + fixed_height_(0),
|
| + width_direction_triggers_scrollbar_(0),
|
| + height_direction_triggers_scrollbar_(0),
|
| + width_direction_fragmentation_type_(FragmentNone),
|
| + height_direction_fragmentation_type_(FragmentNone) {}
|
| +
|
| +NGPhysicalConstraintSpace::NGPhysicalConstraintSpace(
|
| + const NGPhysicalConstraintSpace& other)
|
| + : fixed_width_(other.fixed_width_),
|
| + fixed_height_(other.fixed_height_),
|
| + width_direction_triggers_scrollbar_(
|
| + other.width_direction_triggers_scrollbar_),
|
| + height_direction_triggers_scrollbar_(
|
| + other.height_direction_triggers_scrollbar_),
|
| + width_direction_fragmentation_type_(
|
| + other.width_direction_fragmentation_type_),
|
| + height_direction_fragmentation_type_(
|
| + other.height_direction_fragmentation_type_) {}
|
| +
|
| +void NGPhysicalConstraintSpace::AddExclusion(const NGExclusion,
|
| + unsigned options) {
|
| + // TODO(layout-ng): Implement.
|
| +}
|
| +
|
| +DoublyLinkedList<const NGExclusion> NGPhysicalConstraintSpace::Exclusions(
|
| + unsigned options) const {
|
| + DoublyLinkedList<const NGExclusion> exclusions;
|
| + // TODO(layout-ng): Implement.
|
| + return exclusions;
|
| +}
|
| +
|
| +} // namespace blink
|
|
|