Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 45 namespace device { | 45 namespace device { |
| 46 class MotionData; | 46 class MotionData; |
| 47 class OrientationData; | 47 class OrientationData; |
| 48 } | 48 } |
| 49 | 49 |
| 50 namespace service_manager { | 50 namespace service_manager { |
| 51 class InterfaceProvider; | 51 class InterfaceProvider; |
| 52 } | 52 } |
| 53 | 53 |
| 54 namespace content { | 54 namespace content { |
| 55 class BlinkConnectorImpl; | |
| 55 class BlinkInterfaceProviderImpl; | 56 class BlinkInterfaceProviderImpl; |
| 56 class LocalStorageCachedAreas; | 57 class LocalStorageCachedAreas; |
| 57 class PlatformEventObserverBase; | 58 class PlatformEventObserverBase; |
| 58 class QuotaMessageFilter; | 59 class QuotaMessageFilter; |
| 59 class RendererClipboardDelegate; | 60 class RendererClipboardDelegate; |
| 60 class ThreadSafeSender; | 61 class ThreadSafeSender; |
| 61 class WebClipboardImpl; | 62 class WebClipboardImpl; |
| 62 class WebDatabaseObserverImpl; | 63 class WebDatabaseObserverImpl; |
| 63 | 64 |
| 64 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { | 65 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 178 const blink::WebURL& top_document_web_url, | 179 const blink::WebURL& top_document_web_url, |
| 179 blink::WebGraphicsContext3DProvider* share_provider, | 180 blink::WebGraphicsContext3DProvider* share_provider, |
| 180 blink::Platform::GraphicsInfo* gl_info) override; | 181 blink::Platform::GraphicsInfo* gl_info) override; |
| 181 blink::WebGraphicsContext3DProvider* | 182 blink::WebGraphicsContext3DProvider* |
| 182 createSharedOffscreenGraphicsContext3DProvider() override; | 183 createSharedOffscreenGraphicsContext3DProvider() override; |
| 183 gpu::GpuMemoryBufferManager* getGpuMemoryBufferManager() override; | 184 gpu::GpuMemoryBufferManager* getGpuMemoryBufferManager() override; |
| 184 std::unique_ptr<cc::SharedBitmap> allocateSharedBitmap( | 185 std::unique_ptr<cc::SharedBitmap> allocateSharedBitmap( |
| 185 const blink::WebSize& size) override; | 186 const blink::WebSize& size) override; |
| 186 blink::WebCompositorSupport* compositorSupport() override; | 187 blink::WebCompositorSupport* compositorSupport() override; |
| 187 blink::WebString convertIDNToUnicode(const blink::WebString& host) override; | 188 blink::WebString convertIDNToUnicode(const blink::WebString& host) override; |
| 189 blink::Connector* connector() override; | |
|
dcheng
2017/03/21 18:56:18
Optional nit: one alternative to consider is using
blundell
2017/03/23 10:40:33
Done.
| |
| 188 blink::InterfaceProvider* interfaceProvider() override; | 190 blink::InterfaceProvider* interfaceProvider() override; |
| 189 void startListening(blink::WebPlatformEventType, | 191 void startListening(blink::WebPlatformEventType, |
| 190 blink::WebPlatformEventListener*) override; | 192 blink::WebPlatformEventListener*) override; |
| 191 void stopListening(blink::WebPlatformEventType) override; | 193 void stopListening(blink::WebPlatformEventType) override; |
| 192 void queryStorageUsageAndQuota(const blink::WebURL& storage_partition, | 194 void queryStorageUsageAndQuota(const blink::WebURL& storage_partition, |
| 193 blink::WebStorageQuotaType, | 195 blink::WebStorageQuotaType, |
| 194 blink::WebStorageQuotaCallbacks) override; | 196 blink::WebStorageQuotaCallbacks) override; |
| 195 blink::WebThread* currentThread() override; | 197 blink::WebThread* currentThread() override; |
| 196 blink::BlameContext* topLevelBlameContext() override; | 198 blink::BlameContext* topLevelBlameContext() override; |
| 197 void recordRappor(const char* metric, | 199 void recordRappor(const char* metric, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 290 | 292 |
| 291 IDMap<std::unique_ptr<PlatformEventObserverBase>> platform_event_observers_; | 293 IDMap<std::unique_ptr<PlatformEventObserverBase>> platform_event_observers_; |
| 292 | 294 |
| 293 blink::scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED | 295 blink::scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED |
| 294 TopLevelBlameContext top_level_blame_context_; | 296 TopLevelBlameContext top_level_blame_context_; |
| 295 | 297 |
| 296 WebTrialTokenValidatorImpl trial_token_validator_; | 298 WebTrialTokenValidatorImpl trial_token_validator_; |
| 297 | 299 |
| 298 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; | 300 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; |
| 299 | 301 |
| 302 std::unique_ptr<BlinkConnectorImpl> blink_connector_; | |
| 303 | |
| 300 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; | 304 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; |
| 301 | 305 |
| 302 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_; | 306 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_; |
| 303 | 307 |
| 304 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 308 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
| 305 }; | 309 }; |
| 306 | 310 |
| 307 } // namespace content | 311 } // namespace content |
| 308 | 312 |
| 309 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 313 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |