chromium/ui/gfx/font_list_impl.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 "ui/gfx/font_list_impl.h"

#include <stddef.h>

#include <algorithm>

#include "base/check_op.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "ui/gfx/font_list.h"

namespace gfx {
namespace {

// Returns a font description from |families|, |style|, and |size_pixels|.
std::string BuildDescription(const std::vector<std::string>& families,
                             int style,
                             int size_pixels,
                             Font::Weight weight) {}

}  // namespace

FontListImpl::FontListImpl(const std::string& font_description_string)
    :{}

FontListImpl::FontListImpl(const std::vector<std::string>& font_names,
                           int font_style,
                           int font_size,
                           Font::Weight font_weight)
    :{}

FontListImpl::FontListImpl(const std::vector<Font>& fonts)
    :{}

FontListImpl::FontListImpl(const Font& font)
    :{}

FontListImpl* FontListImpl::Derive(int size_delta,
                                   int font_style,
                                   Font::Weight weight) const {}

int FontListImpl::GetHeight() const {}

int FontListImpl::GetBaseline() const {}

int FontListImpl::GetCapHeight() const {}

int FontListImpl::GetExpectedTextWidth(int length) const {}

int FontListImpl::GetFontStyle() const {}

int FontListImpl::GetFontSize() const {}

Font::Weight FontListImpl::GetFontWeight() const {}

const std::vector<Font>& FontListImpl::GetFonts() const {}

const Font& FontListImpl::GetPrimaryFont() const {}

FontListImpl::~FontListImpl() {}

void FontListImpl::CacheCommonFontHeightAndBaseline() const {}

void FontListImpl::CacheFontStyleAndSize() const {}

}  // namespace gfx