chromium/third_party/blink/renderer/core/css/font_face_cache.cc

/*
 * Copyright (C) 2007, 2008, 2011 Apple Inc. All rights reserved.
 * Copyright (C) 2013 Google Inc. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#include "third_party/blink/renderer/core/css/font_face_cache.h"

#include <numeric>
#include "base/atomic_sequence_num.h"
#include "third_party/blink/renderer/core/css/css_segmented_font_face.h"
#include "third_party/blink/renderer/core/css/css_value_list.h"
#include "third_party/blink/renderer/core/loader/resource/font_resource.h"
#include "third_party/blink/renderer/platform/font_family_names.h"
#include "third_party/blink/renderer/platform/fonts/font_description.h"
#include "third_party/blink/renderer/platform/fonts/font_selection_algorithm.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_fetcher.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string.h"

namespace blink {

FontFaceCache::FontFaceCache() :{}

void FontFaceCache::Add(const StyleRuleFontFace* font_face_rule,
                        FontFace* font_face) {}

void FontFaceCache::SegmentedFacesByFamily::AddFontFace(FontFace* font_face,
                                                        bool css_connected) {}

void FontFaceCache::AddFontFace(FontFace* font_face, bool css_connected) {}

void FontFaceCache::FontSelectionQueryCache::Remove(
    const AtomicString& family) {}

void FontFaceCache::CapabilitiesSet::AddFontFace(FontFace* font_face,
                                                 bool css_connected) {}

void FontFaceCache::Remove(const StyleRuleFontFace* font_face_rule) {}

bool FontFaceCache::SegmentedFacesByFamily::RemoveFontFace(
    FontFace* font_face) {}

void FontFaceCache::RemoveFontFace(FontFace* font_face, bool css_connected) {}

bool FontFaceCache::CapabilitiesSet::RemoveFontFace(FontFace* font_face) {}

bool FontFaceCache::ClearCSSConnected() {}

void FontFaceCache::ClearAll() {}

void FontFaceCache::FontSelectionQueryCache::Clear() {}

void FontFaceCache::IncrementVersion() {}

FontFaceCache::CapabilitiesSet* FontFaceCache::SegmentedFacesByFamily::Find(
    const AtomicString& family) const {}

CSSSegmentedFontFace* FontFaceCache::Get(
    const FontDescription& font_description,
    const AtomicString& family) {}

CSSSegmentedFontFace* FontFaceCache::FontSelectionQueryCache::GetOrCreate(
    const FontSelectionRequest& request,
    const AtomicString& family,
    CapabilitiesSet* family_faces) {}

CSSSegmentedFontFace* FontFaceCache::FontSelectionQueryResult::GetOrCreate(
    const FontSelectionRequest& request,
    const CapabilitiesSet& family_faces) {}

size_t FontFaceCache::GetNumSegmentedFacesForTesting() {}

size_t FontFaceCache::SegmentedFacesByFamily::GetNumSegmentedFacesForTesting()
    const {}

void FontFaceCache::Trace(Visitor* visitor) const {}

void FontFaceCache::CapabilitiesSet::Trace(Visitor* visitor) const {}

void FontFaceCache::FontSelectionQueryCache::Trace(Visitor* visitor) const {}

void FontFaceCache::FontSelectionQueryResult::Trace(Visitor* visitor) const {}

void FontFaceCache::SegmentedFacesByFamily::Trace(Visitor* visitor) const {}

}  // namespace blink