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

Unified Diff: skia/ext/SkFontHost_fontconfig_control.h

Issue 12764009: re-land 187283 -- switch to skia's version of SkFontHost_fontconfig (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 | « skia/ext/SkFontHost_fontconfig.cpp ('k') | skia/ext/SkFontHost_fontconfig_direct.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/SkFontHost_fontconfig_control.h
===================================================================
--- skia/ext/SkFontHost_fontconfig_control.h (revision 187566)
+++ skia/ext/SkFontHost_fontconfig_control.h (working copy)
@@ -1,38 +0,0 @@
-/* libs/graphics/ports/SkFontHost_fontconfig_control.h
-**
-** Copyright 2009, Google Inc.
-**
-** Licensed under the Apache License, Version 2.0 (the "License");
-** you may not use this file except in compliance with the License.
-** You may obtain a copy of the License at
-**
-** http://www.apache.org/licenses/LICENSE-2.0
-**
-** Unless required by applicable law or agreed to in writing, software
-** distributed under the License is distributed on an "AS IS" BASIS,
-** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-** See the License for the specific language governing permissions and
-** limitations under the License.
-*/
-
-#ifndef FontConfigControl_DEFINED
-#define FontConfigControl_DEFINED
-
-#include "SkPreConfig.h"
-
-class FontConfigInterface;
-
-// Sets the Skia FontHost to use the direct (non-IPC, requires filesystem
-// access) FontConfig implementation. Any previously-set FontConfigInterface
-// will be freed.
-SK_API void SkiaFontConfigUseDirectImplementation();
-
-// Sets the Skia FontHost to use the given implementation of FontConfig. This
-// is normally used to configure the IPC-based implementation to get out of
-// the sandbox.
-//
-// Ownership of the given pointer is transferred, and any previously-set
-// FontConfigInterface will be freed.
-SK_API void SkiaFontConfigSetImplementation(FontConfigInterface* font_config);
-
-#endif // FontConfigControl_DEFINED
« no previous file with comments | « skia/ext/SkFontHost_fontconfig.cpp ('k') | skia/ext/SkFontHost_fontconfig_direct.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698