|
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.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=122564
Total comments: 2
Total comments: 3
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1719 lines, -599 lines) |
Patch |
 |
M |
chrome/test/ui/ppapi_uitest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/pepper_message_filter.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
ppapi/api/trusted/ppb_browser_font_trusted.idl
|
View
|
|
1 chunk |
+257 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/c/trusted/ppb_browser_font_trusted.h
|
View
|
|
1 chunk |
+278 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/cpp/trusted/browser_font_trusted.h
|
View
|
1
2
3
|
1 chunk |
+147 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/cpp/trusted/browser_font_trusted.cc
|
View
|
1
2
3
|
1 chunk |
+276 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/example/example.cc
|
View
|
1
2
3
|
11 chunks |
+46 lines, -55 lines |
0 comments
|
Download
|
 |
M |
ppapi/examples/font/simple_font.cc
|
View
|
1
2
3
4
|
3 chunks |
+21 lines, -20 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_proxy.gypi
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_shared.gypi
|
View
|
1
2
3
4
5
6
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_sources.gypi
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/interface_list.cc
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_dispatcher.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_messages.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
D |
ppapi/proxy/ppb_font_proxy.h
|
View
|
|
1 chunk |
+0 lines, -42 lines |
0 comments
|
Download
|
 |
D |
ppapi/proxy/ppb_font_proxy.cc
|
View
|
|
1 chunk |
+0 lines, -54 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_instance_proxy.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_instance_proxy.cc
|
View
|
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/resource_creation_proxy.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/resource_creation_proxy.cc
|
View
|
|
4 chunks |
+11 lines, -13 lines |
0 comments
|
Download
|
 |
A |
ppapi/shared_impl/private/ppb_browser_font_trusted_shared.h
|
View
|
1
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/shared_impl/private/ppb_browser_font_trusted_shared.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+325 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/shared_impl/resource.h
|
View
|
1
2
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
ppapi/shared_impl/webkit_forwarding.h
|
View
|
|
1 chunk |
+0 lines, -86 lines |
0 comments
|
Download
|
 |
D |
ppapi/shared_impl/webkit_forwarding.cc
|
View
|
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
A |
ppapi/tests/test_browser_font.h
|
View
|
1
2
3
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/tests/test_browser_font.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+101 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/interfaces_ppb_private.h
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/interfaces_ppb_public_dev.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
A |
ppapi/thunk/ppb_browser_font_trusted_api.h
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ppapi/thunk/ppb_browser_font_trusted_thunk.cc
|
View
|
|
4 chunks |
+25 lines, -22 lines |
0 comments
|
Download
|
 |
D |
ppapi/thunk/ppb_font_api.h
|
View
|
|
1 chunk |
+0 lines, -48 lines |
0 comments
|
Download
|
 |
D |
ppapi/thunk/ppb_font_thunk.cc
|
View
|
|
1 chunk |
+0 lines, -101 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_instance_api.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/resource_creation_api.h
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/webkit_glue.gypi
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/host_globals.cc
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/plugin_module.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppapi_plugin_instance.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
D |
webkit/plugins/ppapi/ppb_font_impl.h
|
View
|
|
1 chunk |
+0 lines, -41 lines |
0 comments
|
Download
|
 |
D |
webkit/plugins/ppapi/ppb_font_impl.cc
|
View
|
|
1 chunk |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/resource_creation_impl.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/resource_creation_impl.cc
|
View
|
|
3 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|