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

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: OWNERS Mojo. 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 22 matching lines...) Expand all
33 namespace blink { 33 namespace blink {
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 WebServiceWorkerCacheStorage; 42 class WebServiceWorkerCacheStorage;
43 class WebFontAccess;
43 } 44 }
44 45
45 namespace scheduler { 46 namespace scheduler {
46 class RendererScheduler; 47 class RendererScheduler;
47 class WebThreadImplForRendererScheduler; 48 class WebThreadImplForRendererScheduler;
48 } 49 }
49 50
50 namespace content { 51 namespace content {
51 class BatteryStatusDispatcher; 52 class BatteryStatusDispatcher;
52 class DeviceLightEventPump; 53 class DeviceLightEventPump;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 blink::WebServiceWorkerCacheStorage* cacheStorage( 123 blink::WebServiceWorkerCacheStorage* cacheStorage(
123 const blink::WebString& origin_identifier) override; 124 const blink::WebString& origin_identifier) override;
124 blink::WebFileSystem* fileSystem() override; 125 blink::WebFileSystem* fileSystem() override;
125 bool canAccelerate2dCanvas() override; 126 bool canAccelerate2dCanvas() override;
126 bool isThreadedCompositingEnabled() override; 127 bool isThreadedCompositingEnabled() override;
127 bool isThreadedAnimationEnabled() override; 128 bool isThreadedAnimationEnabled() override;
128 double audioHardwareSampleRate() override; 129 double audioHardwareSampleRate() override;
129 size_t audioHardwareBufferSize() override; 130 size_t audioHardwareBufferSize() override;
130 unsigned audioHardwareOutputChannels() override; 131 unsigned audioHardwareOutputChannels() override;
131 blink::WebDatabaseObserver* databaseObserver() override; 132 blink::WebDatabaseObserver* databaseObserver() override;
133 blink::WebFontAccess* fontAccess() override;
132 134
133 blink::WebAudioDevice* createAudioDevice( 135 blink::WebAudioDevice* createAudioDevice(
134 size_t buffer_size, 136 size_t buffer_size,
135 unsigned input_channels, 137 unsigned input_channels,
136 unsigned channels, 138 unsigned channels,
137 double sample_rate, 139 double sample_rate,
138 blink::WebAudioDevice::RenderCallback* callback, 140 blink::WebAudioDevice::RenderCallback* callback,
139 const blink::WebString& input_device_id) override; 141 const blink::WebString& input_device_id) override;
140 142
141 bool loadAudioResource(blink::WebAudioBus* destination_bus, 143 bool loadAudioResource(blink::WebAudioBus* destination_bus,
(...skipping 140 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

Powered by Google App Engine
This is Rietveld 408576698