// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_LOGICAL_RECT_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_LOGICAL_RECT_H_ #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/core/layout/geometry/logical_offset.h" #include "third_party/blink/renderer/core/layout/geometry/logical_size.h" #include "ui/gfx/geometry/rect_f.h" namespace WTF { class String; } // namespace WTF namespace blink { // LogicalRect is the position and size of a rect (typically a fragment) // relative to the parent in the logical coordinate system. // For more information about physical and logical coordinate systems, see: // https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/core/layout/README.md#coordinate-spaces struct CORE_EXPORT LogicalRect { … }; CORE_EXPORT std::ostream& operator<<(std::ostream&, const LogicalRect&); } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_LOGICAL_RECT_H_