chromium/extensions/browser/app_window/size_constraints.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "extensions/browser/app_window/size_constraints.h"

#include <algorithm>

#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/geometry/rounded_corners_f.h"
#include "ui/gfx/geometry/size.h"

namespace extensions {

SizeConstraints::SizeConstraints()
    :{}

SizeConstraints::SizeConstraints(const gfx::Size& min_size,
                                 const gfx::Size& max_size)
    :{}

SizeConstraints::~SizeConstraints() = default;

// static
gfx::Size SizeConstraints::GetMinimumSizeSupportingRoundedCorners(
    const gfx::RoundedCornersF& radii) {}

// static
gfx::Size SizeConstraints::AddWindowToConstraints(
    const gfx::Size& size_constraints,
    const gfx::Insets& frame_insets,
    const gfx::RoundedCornersF& window_radii) {}

gfx::Size SizeConstraints::ClampSize(gfx::Size size) const {}

bool SizeConstraints::HasMinimumSize() const {}

bool SizeConstraints::HasMaximumSize() const {}

bool SizeConstraints::HasFixedSize() const {}

gfx::Size SizeConstraints::GetMinimumSize() const {}

gfx::Size SizeConstraints::GetMaximumSize() const {}

void SizeConstraints::set_minimum_size(const gfx::Size& min_size) {}

void SizeConstraints::set_maximum_size(const gfx::Size& max_size) {}

}  // namespace extensions