| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 class ExceptionState; | 54 class ExceptionState; |
| 55 class Font; | 55 class Font; |
| 56 class FontMetrics; | 56 class FontMetrics; |
| 57 class HitRegion; | 57 class HitRegion; |
| 58 class HitRegionOptions; | 58 class HitRegionOptions; |
| 59 class HitRegionManager; | 59 class HitRegionManager; |
| 60 class HitTestCanvasResult; | 60 class HitTestCanvasResult; |
| 61 class Path2D; | 61 class Path2D; |
| 62 class TextMetrics; | 62 class TextMetrics; |
| 63 | 63 |
| 64 typedef CSSImageValueOrHTMLImageElementOrHTMLVideoElementOrHTMLCanvasElementOrIm
ageBitmapOrOffscreenCanvas | 64 typedef CSSImageValueOrHTMLImageElementOrSVGImageElementOrHTMLVideoElementOrHTML
CanvasElementOrImageBitmapOrOffscreenCanvas |
| 65 CanvasImageSourceUnion; | 65 CanvasImageSourceUnion; |
| 66 | 66 |
| 67 class MODULES_EXPORT CanvasRenderingContext2D final | 67 class MODULES_EXPORT CanvasRenderingContext2D final |
| 68 : public CanvasRenderingContext, | 68 : public CanvasRenderingContext, |
| 69 public BaseRenderingContext2D, | 69 public BaseRenderingContext2D, |
| 70 public SVGResourceClient { | 70 public SVGResourceClient { |
| 71 DEFINE_WRAPPERTYPEINFO(); | 71 DEFINE_WRAPPERTYPEINFO(); |
| 72 USING_GARBAGE_COLLECTED_MIXIN(CanvasRenderingContext2D); | 72 USING_GARBAGE_COLLECTED_MIXIN(CanvasRenderingContext2D); |
| 73 | 73 |
| 74 public: | 74 public: |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 | 259 |
| 260 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, | 260 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, |
| 261 CanvasRenderingContext, | 261 CanvasRenderingContext, |
| 262 context, | 262 context, |
| 263 context->is2d() && context->canvas(), | 263 context->is2d() && context->canvas(), |
| 264 context.is2d() && context.canvas()); | 264 context.is2d() && context.canvas()); |
| 265 | 265 |
| 266 } // namespace blink | 266 } // namespace blink |
| 267 | 267 |
| 268 #endif // CanvasRenderingContext2D_h | 268 #endif // CanvasRenderingContext2D_h |
| OLD | NEW |