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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 23 matching lines...) Expand all
34 class WebBatteryStatus; 34 class WebBatteryStatus;
35 class WebCanvasCaptureHandler; 35 class WebCanvasCaptureHandler;
36 class WebDeviceMotionData; 36 class WebDeviceMotionData;
37 class WebDeviceOrientationData; 37 class WebDeviceOrientationData;
38 class WebGraphicsContext3DProvider; 38 class WebGraphicsContext3DProvider;
39 class WebMediaPlayer; 39 class WebMediaPlayer;
40 class WebMediaRecorderHandler; 40 class WebMediaRecorderHandler;
41 class WebMediaStream; 41 class WebMediaStream;
42 class WebSecurityOrigin; 42 class WebSecurityOrigin;
43 class WebServiceWorkerCacheStorage; 43 class WebServiceWorkerCacheStorage;
44 class WebFontAccess;
44 } 45 }
45 46
46 namespace scheduler { 47 namespace scheduler {
47 class RendererScheduler; 48 class RendererScheduler;
48 class WebThreadImplForRendererScheduler; 49 class WebThreadImplForRendererScheduler;
49 } 50 }
50 51
51 namespace content { 52 namespace content {
52 class BatteryStatusDispatcher; 53 class BatteryStatusDispatcher;
53 class DeviceLightEventPump; 54 class DeviceLightEventPump;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 blink::WebServiceWorkerCacheStorage* cacheStorage( 124 blink::WebServiceWorkerCacheStorage* cacheStorage(
124 const blink::WebString& origin_identifier) override; 125 const blink::WebString& origin_identifier) override;
125 blink::WebFileSystem* fileSystem() override; 126 blink::WebFileSystem* fileSystem() override;
126 bool canAccelerate2dCanvas() override; 127 bool canAccelerate2dCanvas() override;
127 bool isThreadedCompositingEnabled() override; 128 bool isThreadedCompositingEnabled() override;
128 bool isThreadedAnimationEnabled() override; 129 bool isThreadedAnimationEnabled() override;
129 double audioHardwareSampleRate() override; 130 double audioHardwareSampleRate() override;
130 size_t audioHardwareBufferSize() override; 131 size_t audioHardwareBufferSize() override;
131 unsigned audioHardwareOutputChannels() override; 132 unsigned audioHardwareOutputChannels() override;
132 blink::WebDatabaseObserver* databaseObserver() override; 133 blink::WebDatabaseObserver* databaseObserver() override;
134 blink::WebFontAccess* fontAccess() override;
133 135
134 blink::WebAudioDevice* createAudioDevice( 136 blink::WebAudioDevice* createAudioDevice(
135 size_t buffer_size, 137 size_t buffer_size,
136 unsigned input_channels, 138 unsigned input_channels,
137 unsigned channels, 139 unsigned channels,
138 double sample_rate, 140 double sample_rate,
139 blink::WebAudioDevice::RenderCallback* callback, 141 blink::WebAudioDevice::RenderCallback* callback,
140 const blink::WebString& input_device_id, 142 const blink::WebString& input_device_id,
141 const blink::WebSecurityOrigin& security_origin) override; 143 const blink::WebSecurityOrigin& security_origin) override;
142 144
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 scoped_refptr<QuotaMessageFilter> quota_message_filter_; 284 scoped_refptr<QuotaMessageFilter> quota_message_filter_;
283 285
284 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; 286 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
285 287
286 cc_blink::WebCompositorSupportImpl compositor_support_; 288 cc_blink::WebCompositorSupportImpl compositor_support_;
287 289
288 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; 290 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_;
289 291
290 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; 292 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_;
291 293
294 scoped_ptr<blink::WebFontAccess> web_font_access_;
295
292 // Handle to the Vibration mojo service. 296 // Handle to the Vibration mojo service.
293 device::VibrationManagerPtr vibration_manager_; 297 device::VibrationManagerPtr vibration_manager_;
294 298
295 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; 299 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_;
296 300
297 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED 301 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED
298 302
299 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 303 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
300 }; 304 };
301 305
302 } // namespace content 306 } // namespace content
303 307
304 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 308 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW
« 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