Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1775)

Unified Diff: src/ports/FontHostConfiguration_android.h

Issue 18666003: Remove old and unused Android font host code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/ports/FontHostConfiguration_android.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/FontHostConfiguration_android.h
diff --git a/src/ports/FontHostConfiguration_android.h b/src/ports/FontHostConfiguration_android.h
deleted file mode 100644
index 71eed579136e5e8590784f34c4995558fad3928c..0000000000000000000000000000000000000000
--- a/src/ports/FontHostConfiguration_android.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2011 The Android Open Source Project
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef FONTHOSTCONFIGURATION_ANDROID_H_
-#define FONTHOSTCONFIGURATION_ANDROID_H_
-
-#include "SkTDArray.h"
-
-/**
- * The FontFamily data structure is created during parsing and handed back to
- * Skia to fold into its representation of font families. fNames is the list of
- * font names that alias to a font family. fFileNames is the list of font
- * filenames for the family. Order is the priority order for the font. This is
- * used internally to determine the order in which to place fallback fonts as
- * they are read from the configuration files.
- */
-struct FontFamily {
- SkTDArray<const char*> fNames;
- SkTDArray<const char*> fFileNames;
- int order;
-};
-
-/**
- * Parses all system font configuration files and returns the results in an
- * array of FontFamily structures.
- */
-void getFontFamilies(SkTDArray<FontFamily*> &fontFamilies);
-
-/**
- * Parse the fallback and vendor system font configuration files and return the
- * results in an array of FontFamily structures.
- */
-void getFallbackFontFamilies(SkTDArray<FontFamily*> &fallbackFonts);
-
-/**
- * Parses all test font configuration files and returns the results in an
- * array of FontFamily structures.
- */
-void getTestFontFamilies(SkTDArray<FontFamily*> &fontFamilies,
- const char* testMainConfigFile,
- const char* testFallbackConfigFile);
-
-struct AndroidLocale {
- char language[3];
- char region[3];
-};
-
-void getLocale(AndroidLocale &locale);
-
-#endif /* FONTHOSTCONFIGURATION_ANDROID_H_ */
« no previous file with comments | « no previous file | src/ports/FontHostConfiguration_android.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698