diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 20:15:25 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 20:15:25 +0000 |
commit | 7a26d92ecbe0ec01d433a4bc97106b4743c15049 (patch) | |
tree | 8ec52949f54934b188ae3b345f9ecf212435839b /ppapi/ppapi_sources.gypi | |
parent | 94394dc91c469fe2f851769784e4f2d81e0c9573 (diff) | |
download | chromium_src-7a26d92ecbe0ec01d433a4bc97106b4743c15049.zip chromium_src-7a26d92ecbe0ec01d433a4bc97106b4743c15049.tar.gz chromium_src-7a26d92ecbe0ec01d433a4bc97106b4743c15049.tar.bz2 |
Rename PPB_Font to PPB_BrowserFont_Trusted.
PPB_Font can never be exported to NaCl since it relies on in-process WebKit.
So I'm renaming this to BrowserFont_Trusted to imply that this is the way that
the browser would render fonts in the content area (if we export a font API to
NaCl in the future, it will likely be a simpler native font API).
The new API is binary compatible with the old font API, so I map PPB_Font to
PPB_BrowserFont_Trusted for now to avoid breaking Flash (which uses this). When
we update Flash and push it out, we can remove the mapping and PPB_Font.
This does a lot of cleanup of the font implementation. It had complexity from
the fact that it used to run on a different thread. I was able to remove a lot
of code.
Review URL: https://chromiumcodereview.appspot.com/9360045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi_sources.gypi')
-rw-r--r-- | ppapi/ppapi_sources.gypi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ppapi/ppapi_sources.gypi b/ppapi/ppapi_sources.gypi index 5e9be70..1fdf423 100644 --- a/ppapi/ppapi_sources.gypi +++ b/ppapi/ppapi_sources.gypi @@ -113,6 +113,7 @@ # Trusted interfaces. 'c/trusted/ppb_audio_trusted.h', 'c/trusted/ppb_broker_trusted.h', + 'c/private/ppb_browser_font_trusted.h', 'c/trusted/ppb_buffer_trusted.h', 'c/trusted/ppb_file_chooser_trusted.h', 'c/trusted/ppb_file_io_trusted.h', @@ -258,6 +259,8 @@ 'cpp/private/var_private.h', # Trusted interfaces. + 'cpp/trusted/browser_font_trusted.cc', + 'cpp/trusted/browser_font_trusted.h', 'cpp/trusted/file_chooser_trusted.cc', 'cpp/trusted/file_chooser_trusted.h', 'cpp/trusted/file_io_trusted.cc', @@ -338,6 +341,8 @@ 'tests/test_audio_config.h', 'tests/test_broker.cc', 'tests/test_broker.h', + 'tests/test_browser_font.cc', + 'tests/test_browser_font.h', 'tests/test_buffer.cc', 'tests/test_buffer.h', 'tests/test_c_includes.c', |