chromium/ui/views/layout/layout_provider.cc

// 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.

#include "ui/views/layout/layout_provider.h"

#include <algorithm>

#include "base/containers/fixed_flat_map.h"
#include "base/logging.h"
#include "ui/base/ui_base_features.h"
#include "ui/gfx/font_list.h"
#include "ui/views/controls/focus_ring.h"
#include "ui/views/style/typography_provider.h"
#include "ui/views/views_delegate.h"

namespace views {

namespace {

LayoutProvider* g_layout_delegate =;

}  // namespace

LayoutProvider::LayoutProvider() {}

LayoutProvider::~LayoutProvider() {}

// static
LayoutProvider* LayoutProvider::Get() {}

// static
int LayoutProvider::GetControlHeightForFont(int context,
                                            int style,
                                            const gfx::FontList& font) {}

gfx::Insets LayoutProvider::GetInsetsMetric(int metric) const {}

int LayoutProvider::GetDistanceMetric(int metric) const {}

const TypographyProvider& LayoutProvider::GetTypographyProvider() const {}

int LayoutProvider::GetSnappedDialogWidth(int min_width) const {}

gfx::Insets LayoutProvider::GetDialogInsetsForContentType(
    DialogContentType leading,
    DialogContentType trailing) const {}

int LayoutProvider::GetCornerRadiusMetric(Emphasis emphasis,
                                          const gfx::Size& size) const {}

ShapeSysTokens GetShapeSysToken(ShapeContextTokens id) {}

int LayoutProvider::GetCornerRadiusMetric(ShapeContextTokens id,
                                          const gfx::Size& size) const {}

int LayoutProvider::GetShadowElevationMetric(Emphasis emphasis) const {}

}  // namespace views