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

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 Nasko. Created 4 years, 10 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 5e938fdaadbc962365feb28773063449b7758ab8..814fa8947f6e7d48a0c6e51887d0366311fd9e18 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -41,6 +41,7 @@ class WebMediaRecorderHandler;
class WebMediaStream;
class WebSecurityOrigin;
class WebServiceWorkerCacheStorage;
+class WebFontAccess;
}
namespace scheduler {
@@ -130,6 +131,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_;
« no previous file with comments | « content/renderer/font_access/web_font_access_impl.cc ('k') | content/renderer/renderer_blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698