Chromium Code Reviews

Unified Diff: content/renderer/renderer_blink_platform_impl.h

Issue 1615133002: Implement API for accessing fonts installed locally on the system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: content/renderer/renderer_blink_platform_impl.h
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h
index 72fda4f9df25ca5d506c6e96e6b82e4ddd603cfd..2c834c71a3bfa5b5c21ad6111f3f41cb7b595fab 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -39,6 +39,7 @@ class WebGraphicsContext3DProvider;
class WebMediaRecorderHandler;
class WebMediaStream;
class WebServiceWorkerCacheStorage;
+class WebFontAccess;
}
namespace scheduler {
@@ -127,6 +128,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
size_t audioHardwareBufferSize() override;
unsigned audioHardwareOutputChannels() override;
blink::WebDatabaseObserver* databaseObserver() override;
+ blink::WebFontAccess* fontAccess() override;
blink::WebAudioDevice* createAudioDevice(
size_t buffer_size,
@@ -284,6 +286,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_;
+ scoped_ptr<blink::WebFontAccess> web_font_access_;
+
// Handle to the Vibration mojo service.
device::VibrationManagerPtr vibration_manager_;

Powered by Google App Engine