| OLD | NEW |
| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 class CanvasImageSource; | 45 class CanvasImageSource; |
| 46 class HTMLCanvasElement; | 46 class HTMLCanvasElement; |
| 47 class ImageData; | 47 class ImageData; |
| 48 class ImageBitmap; | 48 class ImageBitmap; |
| 49 class WebLayer; | 49 class WebLayer; |
| 50 | 50 |
| 51 enum CanvasColorSpace { | 51 enum CanvasColorSpace { |
| 52 kLegacyCanvasColorSpace, | 52 kLegacyCanvasColorSpace, |
| 53 kSRGBCanvasColorSpace, | 53 kSRGBCanvasColorSpace, |
| 54 kLinearRGBCanvasColorSpace, | 54 kLinearRGBCanvasColorSpace, |
| 55 kRec2020CanvasColorSpace, |
| 56 kP3CanvasColorSpace, |
| 55 }; | 57 }; |
| 56 | 58 |
| 57 class CORE_EXPORT CanvasRenderingContext | 59 class CORE_EXPORT CanvasRenderingContext |
| 58 : public GarbageCollectedFinalized<CanvasRenderingContext>, | 60 : public GarbageCollectedFinalized<CanvasRenderingContext>, |
| 59 public ScriptWrappable { | 61 public ScriptWrappable { |
| 60 WTF_MAKE_NONCOPYABLE(CanvasRenderingContext); | 62 WTF_MAKE_NONCOPYABLE(CanvasRenderingContext); |
| 61 USING_PRE_FINALIZER(CanvasRenderingContext, dispose); | 63 USING_PRE_FINALIZER(CanvasRenderingContext, dispose); |
| 62 | 64 |
| 63 public: | 65 public: |
| 64 virtual ~CanvasRenderingContext() {} | 66 virtual ~CanvasRenderingContext() {} |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 Member<OffscreenCanvas> m_offscreenCanvas; | 193 Member<OffscreenCanvas> m_offscreenCanvas; |
| 192 HashSet<String> m_cleanURLs; | 194 HashSet<String> m_cleanURLs; |
| 193 HashSet<String> m_dirtyURLs; | 195 HashSet<String> m_dirtyURLs; |
| 194 CanvasColorSpace m_colorSpace; | 196 CanvasColorSpace m_colorSpace; |
| 195 CanvasContextCreationAttributes m_creationAttributes; | 197 CanvasContextCreationAttributes m_creationAttributes; |
| 196 }; | 198 }; |
| 197 | 199 |
| 198 } // namespace blink | 200 } // namespace blink |
| 199 | 201 |
| 200 #endif | 202 #endif |
| OLD | NEW |