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

Side by Side Diff: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h

Issue 2555213002: Implement color management for ImageData (Closed)
Patch Set: Work in progress Created 4 years 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 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 24 matching lines...) Expand all
35 #include "third_party/skia/include/core/SkImageInfo.h" 35 #include "third_party/skia/include/core/SkImageInfo.h"
36 #include "wtf/HashSet.h" 36 #include "wtf/HashSet.h"
37 #include "wtf/Noncopyable.h" 37 #include "wtf/Noncopyable.h"
38 #include "wtf/text/StringHash.h" 38 #include "wtf/text/StringHash.h"
39 39
40 class SkCanvas; 40 class SkCanvas;
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class CanvasImageSource; 44 class CanvasImageSource;
45 class Float32ImageData;
Justin Novosad 2016/12/08 18:16:35 Why is this needed?
zakerinasab 2016/12/08 20:40:52 Removed for now.
45 class HTMLCanvasElement; 46 class HTMLCanvasElement;
46 class ImageData; 47 class ImageData;
47 class ImageBitmap; 48 class ImageBitmap;
48 class WebLayer; 49 class WebLayer;
49 50
50 enum CanvasColorSpace { 51 enum CanvasColorSpace {
51 kLegacyCanvasColorSpace, 52 kLegacyCanvasColorSpace,
52 kSRGBCanvasColorSpace, 53 kSRGBCanvasColorSpace,
53 kLinearRGBCanvasColorSpace, 54 kLinearRGBCanvasColorSpace,
54 }; 55 };
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 Member<OffscreenCanvas> m_offscreenCanvas; 191 Member<OffscreenCanvas> m_offscreenCanvas;
191 HashSet<String> m_cleanURLs; 192 HashSet<String> m_cleanURLs;
192 HashSet<String> m_dirtyURLs; 193 HashSet<String> m_dirtyURLs;
193 CanvasColorSpace m_colorSpace; 194 CanvasColorSpace m_colorSpace;
194 CanvasContextCreationAttributes m_creationAttributes; 195 CanvasContextCreationAttributes m_creationAttributes;
195 }; 196 };
196 197
197 } // namespace blink 198 } // namespace blink
198 199
199 #endif 200 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698