Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

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: Addressing Mounir's comments. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 03b7aa2aedf2001a0cbf975ea8b766da4f6b5136..402d1c22af71515f2e7164577069a41d5687aa32 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -40,6 +40,7 @@ class WebMediaPlayer;
class WebMediaRecorderHandler;
class WebMediaStream;
class WebServiceWorkerCacheStorage;
+class WebFontAccess;
}
namespace scheduler {
@@ -129,6 +130,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,
@@ -289,6 +291,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
This is Rietveld 408576698