OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv
ed. |
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 class CanvasStyle; | 54 class CanvasStyle; |
55 class Path2D; | 55 class Path2D; |
56 class Element; | 56 class Element; |
57 class ExceptionState; | 57 class ExceptionState; |
58 class FloatRect; | 58 class FloatRect; |
59 class GraphicsContext; | 59 class GraphicsContext; |
60 class HTMLCanvasElement; | 60 class HTMLCanvasElement; |
61 class HTMLImageElement; | 61 class HTMLImageElement; |
62 class HTMLVideoElement; | 62 class HTMLVideoElement; |
63 class HitRegionOptions; | 63 class HitRegionOptions; |
64 class ImageBitmap; | |
65 class ImageData; | 64 class ImageData; |
66 class TextMetrics; | 65 class TextMetrics; |
67 | 66 |
68 typedef WillBeHeapHashMap<String, RefPtrWillBeMember<MutableStylePropertySet> >
MutableStylePropertyMap; | 67 typedef WillBeHeapHashMap<String, RefPtrWillBeMember<MutableStylePropertySet> >
MutableStylePropertyMap; |
69 | 68 |
70 class CanvasRenderingContext2D FINAL: public CanvasRenderingContext, public Scri
ptWrappable, public CanvasPathMethods { | 69 class CanvasRenderingContext2D FINAL: public CanvasRenderingContext, public Scri
ptWrappable, public CanvasPathMethods { |
71 DEFINE_WRAPPERTYPEINFO(); | 70 DEFINE_WRAPPERTYPEINFO(); |
72 public: | 71 public: |
73 static PassOwnPtrWillBeRawPtr<CanvasRenderingContext2D> create(HTMLCanvasEle
ment* canvas, const Canvas2DContextAttributes* attrs, bool usesCSSCompatibilityP
arseMode) | 72 static PassOwnPtrWillBeRawPtr<CanvasRenderingContext2D> create(HTMLCanvasEle
ment* canvas, const Canvas2DContextAttributes* attrs, bool usesCSSCompatibilityP
arseMode) |
74 { | 73 { |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 Timer<CanvasRenderingContext2D> m_dispatchContextLostEventTimer; | 380 Timer<CanvasRenderingContext2D> m_dispatchContextLostEventTimer; |
382 Timer<CanvasRenderingContext2D> m_dispatchContextRestoredEventTimer; | 381 Timer<CanvasRenderingContext2D> m_dispatchContextRestoredEventTimer; |
383 Timer<CanvasRenderingContext2D> m_tryRestoreContextEventTimer; | 382 Timer<CanvasRenderingContext2D> m_tryRestoreContextEventTimer; |
384 }; | 383 }; |
385 | 384 |
386 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con
text->is2d(), context.is2d()); | 385 DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, con
text->is2d(), context.is2d()); |
387 | 386 |
388 } // namespace blink | 387 } // namespace blink |
389 | 388 |
390 #endif // CanvasRenderingContext2D_h | 389 #endif // CanvasRenderingContext2D_h |
OLD | NEW |