OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_COMMON_FONT_CONFIG_IPC_LINUX_H_ | 5 #ifndef CONTENT_COMMON_FONT_CONFIG_IPC_LINUX_H_ |
6 #define CONTENT_COMMON_FONT_CONFIG_IPC_LINUX_H_ | 6 #define CONTENT_COMMON_FONT_CONFIG_IPC_LINUX_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "skia/ext/SkFontHost_fontconfig_impl.h" | 9 #include "skia/ext/SkFontHost_fontconfig_impl.h" |
11 | 10 |
12 #include <string> | 11 #include <string> |
13 | 12 |
14 // FontConfig implementation for Skia that proxies out of process to get out | 13 // FontConfig implementation for Skia that proxies out of process to get out |
15 // of the sandbox. See http://code.google.com/p/chromium/wiki/LinuxSandboxIPC | 14 // of the sandbox. See http://code.google.com/p/chromium/wiki/LinuxSandboxIPC |
16 class FontConfigIPC : public FontConfigInterface { | 15 class FontConfigIPC : public FontConfigInterface { |
17 public: | 16 public: |
(...skipping 14 matching lines...) Expand all Loading... |
32 enum Method { | 31 enum Method { |
33 METHOD_MATCH = 0, | 32 METHOD_MATCH = 0, |
34 METHOD_OPEN = 1, | 33 METHOD_OPEN = 1, |
35 }; | 34 }; |
36 | 35 |
37 private: | 36 private: |
38 const int fd_; | 37 const int fd_; |
39 }; | 38 }; |
40 | 39 |
41 #endif // CONTENT_COMMON_FONT_CONFIG_IPC_LINUX_H_ | 40 #endif // CONTENT_COMMON_FONT_CONFIG_IPC_LINUX_H_ |
OLD | NEW |