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

Unified Diff: chrome/common/font_config_ipc_linux.h

Issue 6677096: Move a bunch of files from chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: chrome/common/font_config_ipc_linux.h
===================================================================
--- chrome/common/font_config_ipc_linux.h (revision 78451)
+++ chrome/common/font_config_ipc_linux.h (working copy)
@@ -1,40 +0,0 @@
-// Copyright (c) 2010 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 CHROME_COMMON_FONT_CONFIG_IPC_LINUX_H_
-#define CHROME_COMMON_FONT_CONFIG_IPC_LINUX_H_
-#pragma once
-
-#include "skia/ext/SkFontHost_fontconfig_impl.h"
-
-#include <string>
-
-// FontConfig implementation for Skia that proxies out of process to get out
-// of the sandbox. See http://code.google.com/p/chromium/wiki/LinuxSandboxIPC
-class FontConfigIPC : public FontConfigInterface {
- public:
- explicit FontConfigIPC(int fd);
- ~FontConfigIPC();
-
- // FontConfigInterface implementation.
- virtual bool Match(std::string* result_family,
- unsigned* result_filefaceid,
- bool filefaceid_valid,
- unsigned filefaceid,
- const std::string& family,
- const void* characters,
- size_t characters_bytes,
- bool* is_bold, bool* is_italic);
- virtual int Open(unsigned filefaceid);
-
- enum Method {
- METHOD_MATCH = 0,
- METHOD_OPEN = 1,
- };
-
- private:
- const int fd_;
-};
-
-#endif // CHROME_COMMON_FONT_CONFIG_IPC_LINUX_H_
« no previous file with comments | « chrome/common/desktop_notifications/active_notification_tracker_unittest.cc ('k') | chrome/common/font_config_ipc_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698