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

Unified Diff: content/browser/renderer_host/font_utils_linux.h

Issue 337203003: Move PPB_TrueTypeFont_Dev host from renderer to browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
Index: content/browser/renderer_host/font_utils_linux.h
diff --git a/content/browser/renderer_host/font_utils_linux.h b/content/browser/renderer_host/font_utils_linux.h
new file mode 100644
index 0000000000000000000000000000000000000000..669f816984ca4fad35af489fd67fec0baf006467
--- /dev/null
+++ b/content/browser/renderer_host/font_utils_linux.h
@@ -0,0 +1,20 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_RENDERER_HOST_FONT_UTILS_LINUX_H_
+#define CONTENT_BROWSER_RENDERER_HOST_FONT_UTILS_LINUX_H_
+
+#include <string>
+
+namespace content {
+
+int MatchFontFaceWithFallback(const std::string& face,
+ bool is_bold,
+ bool is_italic,
+ uint32 charset,
+ uint32 fallback_family);
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_RENDERER_HOST_FONT_UTILS_LINUX_H_
« no previous file with comments | « no previous file | content/browser/renderer_host/font_utils_linux.cc » ('j') | content/browser/renderer_host/font_utils_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698