diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-17 23:19:57 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-17 23:19:57 +0000 |
commit | bcd90b701089e050a74b82f0670cf36ff72bd7d7 (patch) | |
tree | 5cdab65729fe20ef41c05aa3b92f0a1748d134d6 /webkit/glue/webkit_glue.h | |
parent | 6289ffbc2945eda8893b5fcf899e87539214ddc9 (diff) | |
download | chromium_src-bcd90b701089e050a74b82f0670cf36ff72bd7d7.zip chromium_src-bcd90b701089e050a74b82f0670cf36ff72bd7d7.tar.gz chromium_src-bcd90b701089e050a74b82f0670cf36ff72bd7d7.tar.bz2 |
Create a public header with the child_process_sandbox_support_linux functions that are used in chrome. Also move everything to the content namespace, now that we have one. This gets rid of the last content/common includes from chrome/renderer and so I've tightened up the DEPS.
Also get rid of the webkit_glue versions of the font functions since they weren't used anymore.
BUG=98716
Review URL: http://codereview.chromium.org/8319017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rw-r--r-- | webkit/glue/webkit_glue.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h index 37a9c60..60764b9 100644 --- a/webkit/glue/webkit_glue.h +++ b/webkit/glue/webkit_glue.h @@ -215,26 +215,6 @@ std::string GetWebKitLocale(); // Returns true if the embedder is running in single process mode. bool IsSingleProcess(); -#if defined(OS_LINUX) -// Return a read-only file descriptor to the font which best matches the given -// properties or -1 on failure. -// charset: specifies the language(s) that the font must cover. See -// render_sandbox_host_linux.cc for more information. -int MatchFontWithFallback(const std::string& face, bool bold, - bool italic, int charset); - -// GetFontTable loads a specified font table from an open SFNT file. -// fd: a file descriptor to the SFNT file. The position doesn't matter. -// table: the table in *big-endian* format, or 0 for the whole font file. -// output: a buffer of size output_length that gets the data. can be 0, in -// which case output_length will be set to the required size in bytes. -// output_length: size of output, if it's not 0. -// -// returns: true on success. -bool GetFontTable(int fd, uint32_t table, uint8_t* output, - size_t* output_length); -#endif - // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- |