Convert IPC LoadFont to mojo
Removed FontDescriptor class which was used in IPC and replaced by using
embedded string16 font_name and float font_point_size fields directly.
Replaced usage of NSFont with CTFontRef in order to be able to access
font_name and font_point_size fields outside of objective-C.
Updated FontLoader API to use mojo::ScopedSharedBufferHandle to avoid
unnecessary conversions.
Bug: 775809
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_dbg_ng
Change-Id: I5b891aa2ebb386fb460d64a8f0a79c6bba95f82c
Reviewed-on: https://chromium-review.googlesource.com/768332
Commit-Queue: Joel Hockey <joelhockey@chromium.org>
Reviewed-by: Noel Gordon <noel@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Sam McNally <sammc@chromium.org>
Reviewed-by: Trent Apted <tapted@chromium.org>
Reviewed-by: Nicholas Verne <nverne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518858}
CrOS-Libchrome-Original-Commit: 27bcca76fb5c9e73b5270c8a407eb42ec445f2bd
1 file changed