| 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #ifndef CanvasRenderingContext_h | 26 #ifndef CanvasRenderingContext_h |
| 27 #define CanvasRenderingContext_h | 27 #define CanvasRenderingContext_h |
| 28 | 28 |
| 29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.h" |
| 30 #include "core/html/HTMLCanvasElement.h" | 30 #include "core/html/HTMLCanvasElement.h" |
| 31 #include "core/html/canvas/CanvasContextCreationAttributes.h" | 31 #include "core/html/canvas/CanvasContextCreationAttributes.h" |
| 32 #include "core/layout/HitTestCanvasResult.h" | 32 #include "core/layout/HitTestCanvasResult.h" |
| 33 #include "core/offscreencanvas/OffscreenCanvas.h" | 33 #include "core/offscreencanvas/OffscreenCanvas.h" |
| 34 #include "platform/graphics/ColorBehavior.h" | 34 #include "platform/graphics/ColorBehavior.h" |
| 35 #include "platform/wtf/HashSet.h" |
| 36 #include "platform/wtf/Noncopyable.h" |
| 37 #include "platform/wtf/text/StringHash.h" |
| 35 #include "public/platform/WebThread.h" | 38 #include "public/platform/WebThread.h" |
| 36 #include "third_party/skia/include/core/SkColorSpace.h" | 39 #include "third_party/skia/include/core/SkColorSpace.h" |
| 37 #include "third_party/skia/include/core/SkImageInfo.h" | 40 #include "third_party/skia/include/core/SkImageInfo.h" |
| 38 #include "wtf/HashSet.h" | |
| 39 #include "wtf/Noncopyable.h" | |
| 40 #include "wtf/text/StringHash.h" | |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 class CanvasImageSource; | 44 class CanvasImageSource; |
| 45 class HTMLCanvasElement; | 45 class HTMLCanvasElement; |
| 46 class ImageData; | 46 class ImageData; |
| 47 class ImageBitmap; | 47 class ImageBitmap; |
| 48 class WebLayer; | 48 class WebLayer; |
| 49 | 49 |
| 50 enum CanvasColorSpace { | 50 enum CanvasColorSpace { |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 CanvasColorSpace color_space_; | 235 CanvasColorSpace color_space_; |
| 236 CanvasPixelFormat pixel_format_; | 236 CanvasPixelFormat pixel_format_; |
| 237 bool linear_pixel_math_ = false; | 237 bool linear_pixel_math_ = false; |
| 238 CanvasContextCreationAttributes creation_attributes_; | 238 CanvasContextCreationAttributes creation_attributes_; |
| 239 bool finalize_frame_scheduled_ = false; | 239 bool finalize_frame_scheduled_ = false; |
| 240 }; | 240 }; |
| 241 | 241 |
| 242 } // namespace blink | 242 } // namespace blink |
| 243 | 243 |
| 244 #endif | 244 #endif |
| OLD | NEW |