summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/ppb_browser_font_trusted_thunk.cc
Commit message (Collapse)AuthorAgeFilesLines
* Convert pepper font list to new resource system.brettw@chromium.org2012-12-201-1/+2
| | | | | | | | | | This converts the GetFontFamilies call to the new resource system using a singleton resource. BUG= Review URL: https://codereview.chromium.org/11578038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174241 0039d316-1c4b-4281-b951-d872f2087c98
* Rename PPB_Font to PPB_BrowserFont_Trusted.brettw@chromium.org2012-02-171-0/+104
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