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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 2226733003: Color: Clean up color profile handling for layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master2
Patch Set: Update TODOs Created 4 years, 3 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_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class WebURLRequest; 53 class WebURLRequest;
54 class WebWorkerContentSettingsClientProxy; 54 class WebWorkerContentSettingsClientProxy;
55 struct WebPluginParams; 55 struct WebPluginParams;
56 struct WebURLError; 56 struct WebURLError;
57 } 57 }
58 58
59 namespace cc { 59 namespace cc {
60 class ImageSerializationProcessor; 60 class ImageSerializationProcessor;
61 } 61 }
62 62
63 namespace gfx {
64 class ICCProfile;
65 }
66
63 namespace media { 67 namespace media {
64 class GpuVideoAcceleratorFactories; 68 class GpuVideoAcceleratorFactories;
65 class KeySystemProperties; 69 class KeySystemProperties;
66 class MediaLog; 70 class MediaLog;
67 class RendererFactory; 71 class RendererFactory;
68 } 72 }
69 73
70 namespace shell { 74 namespace shell {
71 class InterfaceRegistry; 75 class InterfaceRegistry;
72 } 76 }
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // Allows an embedder to provide a media::RendererFactory. 267 // Allows an embedder to provide a media::RendererFactory.
264 virtual std::unique_ptr<media::RendererFactory> CreateMediaRendererFactory( 268 virtual std::unique_ptr<media::RendererFactory> CreateMediaRendererFactory(
265 RenderFrame* render_frame, 269 RenderFrame* render_frame,
266 media::GpuVideoAcceleratorFactories* gpu_factories, 270 media::GpuVideoAcceleratorFactories* gpu_factories,
267 const scoped_refptr<media::MediaLog>& media_log); 271 const scoped_refptr<media::MediaLog>& media_log);
268 272
269 // Allows an embedder to provide a MediaStreamRendererFactory. 273 // Allows an embedder to provide a MediaStreamRendererFactory.
270 virtual std::unique_ptr<MediaStreamRendererFactory> 274 virtual std::unique_ptr<MediaStreamRendererFactory>
271 CreateMediaStreamRendererFactory(); 275 CreateMediaStreamRendererFactory();
272 276
273 // Allows an embedder to provde a cc::ImageSerializationProcessor. 277 // Allows an embedder to provide a cc::ImageSerializationProcessor.
274 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor(); 278 virtual cc::ImageSerializationProcessor* GetImageSerializationProcessor();
275 279
280 // Allows an embedder to provide a default image decode color space.
281 virtual std::unique_ptr<gfx::ICCProfile> GetImageDecodeColorProfile();
282
276 // Gives the embedder a chance to register the key system(s) it supports by 283 // Gives the embedder a chance to register the key system(s) it supports by
277 // populating |key_systems|. 284 // populating |key_systems|.
278 virtual void AddSupportedKeySystems( 285 virtual void AddSupportedKeySystems(
279 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems); 286 std::vector<std::unique_ptr<media::KeySystemProperties>>* key_systems);
280 287
281 // Returns true if we should report a detailed message (including a stack 288 // Returns true if we should report a detailed message (including a stack
282 // trace) for console [logs|errors|exceptions]. |source| is the WebKit- 289 // trace) for console [logs|errors|exceptions]. |source| is the WebKit-
283 // reported source for the error; this can point to a page or a script, 290 // reported source for the error; this can point to a page or a script,
284 // and can be external or internal. 291 // and can be external or internal.
285 virtual bool ShouldReportDetailedMessageForSource( 292 virtual bool ShouldReportDetailedMessageForSource(
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 shell::InterfaceRegistry* interface_registry) {} 368 shell::InterfaceRegistry* interface_registry) {}
362 369
363 // Overwrites the given URL to use an HTML5 embed if possible. 370 // Overwrites the given URL to use an HTML5 embed if possible.
364 // An empty URL is returned if the URL is not overriden. 371 // An empty URL is returned if the URL is not overriden.
365 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); 372 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url);
366 }; 373 };
367 374
368 } // namespace content 375 } // namespace content
369 376
370 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 377 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « components/test_runner/helper/layout_test_helper_mac.mm ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698