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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.h

Issue 1830883002: Add blink::ServiceRegistry and expose it from LocalFrame and Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class WebSecurityOrigin; 42 class WebSecurityOrigin;
43 class WebServiceWorkerCacheStorage; 43 class WebServiceWorkerCacheStorage;
44 } 44 }
45 45
46 namespace scheduler { 46 namespace scheduler {
47 class RendererScheduler; 47 class RendererScheduler;
48 class WebThreadImplForRendererScheduler; 48 class WebThreadImplForRendererScheduler;
49 } 49 }
50 50
51 namespace content { 51 namespace content {
52 class BlinkServiceRegistryImpl;
52 class DeviceLightEventPump; 53 class DeviceLightEventPump;
53 class DeviceMotionEventPump; 54 class DeviceMotionEventPump;
54 class DeviceOrientationEventPump; 55 class DeviceOrientationEventPump;
55 class LocalStorageCachedAreas; 56 class LocalStorageCachedAreas;
56 class PlatformEventObserverBase; 57 class PlatformEventObserverBase;
57 class QuotaMessageFilter; 58 class QuotaMessageFilter;
58 class RendererClipboardDelegate; 59 class RendererClipboardDelegate;
59 class RenderView; 60 class RenderView;
60 class ThreadSafeSender; 61 class ThreadSafeSender;
61 class WebClipboardImpl; 62 class WebClipboardImpl;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 blink::WebGraphicsContext3DProvider* createOffscreenGraphicsContext3DProvider( 172 blink::WebGraphicsContext3DProvider* createOffscreenGraphicsContext3DProvider(
172 const blink::WebGraphicsContext3D::Attributes& attributes, 173 const blink::WebGraphicsContext3D::Attributes& attributes,
173 blink::WebGraphicsContext3DProvider* share_provider, 174 blink::WebGraphicsContext3DProvider* share_provider,
174 blink::Platform::GraphicsInfo* gl_info) override; 175 blink::Platform::GraphicsInfo* gl_info) override;
175 blink::WebGraphicsContext3DProvider* 176 blink::WebGraphicsContext3DProvider*
176 createSharedOffscreenGraphicsContext3DProvider() override; 177 createSharedOffscreenGraphicsContext3DProvider() override;
177 blink::WebCompositorSupport* compositorSupport() override; 178 blink::WebCompositorSupport* compositorSupport() override;
178 blink::WebString convertIDNToUnicode( 179 blink::WebString convertIDNToUnicode(
179 const blink::WebString& host, 180 const blink::WebString& host,
180 const blink::WebString& languages) override; 181 const blink::WebString& languages) override;
181 void connectToRemoteService(const char* name, 182 blink::ServiceRegistry* serviceRegistry() override;
182 mojo::ScopedMessagePipeHandle handle) override;
183 void startListening(blink::WebPlatformEventType, 183 void startListening(blink::WebPlatformEventType,
184 blink::WebPlatformEventListener*) override; 184 blink::WebPlatformEventListener*) override;
185 void stopListening(blink::WebPlatformEventType) override; 185 void stopListening(blink::WebPlatformEventType) override;
186 void queryStorageUsageAndQuota(const blink::WebURL& storage_partition, 186 void queryStorageUsageAndQuota(const blink::WebURL& storage_partition,
187 blink::WebStorageQuotaType, 187 blink::WebStorageQuotaType,
188 blink::WebStorageQuotaCallbacks) override; 188 blink::WebStorageQuotaCallbacks) override;
189 void vibrate(unsigned int milliseconds) override; 189 void vibrate(unsigned int milliseconds) override;
190 void cancelVibration() override; 190 void cancelVibration() override;
191 blink::WebThread* currentThread() override; 191 blink::WebThread* currentThread() override;
192 void recordRappor(const char* metric, 192 void recordRappor(const char* metric,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 device::VibrationManagerPtr vibration_manager_; 292 device::VibrationManagerPtr vibration_manager_;
293 293
294 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; 294 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_;
295 295
296 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED 296 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED
297 297
298 WebTrialTokenValidatorImpl trial_token_validator_; 298 WebTrialTokenValidatorImpl trial_token_validator_;
299 299
300 scoped_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; 300 scoped_ptr<LocalStorageCachedAreas> local_storage_cached_areas_;
301 301
302 scoped_ptr<BlinkServiceRegistryImpl> blink_service_registry_;
303
302 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 304 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
303 }; 305 };
304 306
305 } // namespace content 307 } // namespace content
306 308
307 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 309 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698