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

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

Issue 2364633003: color: Set GpuMemoryBuffer color spaces for Canvas (Closed)
Patch Set: Fix constexpr Created 4 years, 2 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 blink::WebMediaStream* web_media_stream, 181 blink::WebMediaStream* web_media_stream,
182 blink::WebMediaPlayer* web_media_player) override; 182 blink::WebMediaPlayer* web_media_player) override;
183 blink::WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() override; 183 blink::WebImageCaptureFrameGrabber* createImageCaptureFrameGrabber() override;
184 blink::WebGraphicsContext3DProvider* createOffscreenGraphicsContext3DProvider( 184 blink::WebGraphicsContext3DProvider* createOffscreenGraphicsContext3DProvider(
185 const blink::Platform::ContextAttributes& attributes, 185 const blink::Platform::ContextAttributes& attributes,
186 const blink::WebURL& top_document_web_url, 186 const blink::WebURL& top_document_web_url,
187 blink::WebGraphicsContext3DProvider* share_provider, 187 blink::WebGraphicsContext3DProvider* share_provider,
188 blink::Platform::GraphicsInfo* gl_info) override; 188 blink::Platform::GraphicsInfo* gl_info) override;
189 blink::WebGraphicsContext3DProvider* 189 blink::WebGraphicsContext3DProvider*
190 createSharedOffscreenGraphicsContext3DProvider() override; 190 createSharedOffscreenGraphicsContext3DProvider() override;
191 gpu::GpuMemoryBufferManager* getGpuMemoryBufferManager() override;
191 std::unique_ptr<cc::SharedBitmap> allocateSharedBitmap( 192 std::unique_ptr<cc::SharedBitmap> allocateSharedBitmap(
192 const blink::WebSize& size) override; 193 const blink::WebSize& size) override;
193 blink::WebCompositorSupport* compositorSupport() override; 194 blink::WebCompositorSupport* compositorSupport() override;
194 blink::WebString convertIDNToUnicode(const blink::WebString& host) override; 195 blink::WebString convertIDNToUnicode(const blink::WebString& host) override;
195 blink::InterfaceProvider* interfaceProvider() override; 196 blink::InterfaceProvider* interfaceProvider() override;
196 void startListening(blink::WebPlatformEventType, 197 void startListening(blink::WebPlatformEventType,
197 blink::WebPlatformEventListener*) override; 198 blink::WebPlatformEventListener*) override;
198 void stopListening(blink::WebPlatformEventType) override; 199 void stopListening(blink::WebPlatformEventType) override;
199 void queryStorageUsageAndQuota(const blink::WebURL& storage_partition, 200 void queryStorageUsageAndQuota(const blink::WebURL& storage_partition,
200 blink::WebStorageQuotaType, 201 blink::WebStorageQuotaType,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; 309 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_;
309 310
310 mojom::URLLoaderFactoryPtr url_loader_factory_; 311 mojom::URLLoaderFactoryPtr url_loader_factory_;
311 312
312 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 313 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
313 }; 314 };
314 315
315 } // namespace content 316 } // namespace content
316 317
317 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 318 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/renderer_blink_platform_impl.cc » ('j') | gpu/ipc/common/surface_handle.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698