#include "content/child/child_process_sandbox_support_impl_linux.h"
#include <stddef.h>
#include <limits>
#include <memory>
#include <string>
#include "base/logging.h"
#include "base/trace_event/trace_event.h"
#include "components/services/font/public/cpp/font_loader.h"
#include "components/services/font/public/mojom/font_service.mojom.h"
#include "third_party/blink/public/platform/web_font_render_style.h"
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/public/platform/web_vector.h"
#include "ui/gfx/font_fallback_linux.h"
namespace content {
WebSandboxSupportLinux::WebSandboxSupportLinux(
sk_sp<font_service::FontLoader> font_loader)
: … { … }
WebSandboxSupportLinux::~WebSandboxSupportLinux() = default;
bool WebSandboxSupportLinux::GetFallbackFontForCharacter(
blink::WebUChar32 character,
const char* preferred_locale,
gfx::FallbackFontData* fallback_font) { … }
bool WebSandboxSupportLinux::MatchFontByPostscriptNameOrFullFontName(
const char* font_unique_name,
gfx::FallbackFontData* fallback_font) { … }
void WebSandboxSupportLinux::GetWebFontRenderStyleForStrike(
const char* family,
int size,
bool is_bold,
bool is_italic,
float device_scale_factor,
blink::WebFontRenderStyle* out) { … }
}