OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. |
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 4 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 12 matching lines...) Expand all Loading... |
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 #include "config.h" | 28 #include "config.h" |
29 #include "HTMLCanvasElement.h" | 29 #include "HTMLCanvasElement.h" |
30 | 30 |
31 #include <math.h> | 31 #include <math.h> |
32 #include <stdio.h> | 32 #include <stdio.h> |
33 #include "Attribute.h" | |
34 #include "CanvasContextAttributes.h" | 33 #include "CanvasContextAttributes.h" |
35 #include "CanvasGradient.h" | 34 #include "CanvasGradient.h" |
36 #include "CanvasPattern.h" | 35 #include "CanvasPattern.h" |
37 #include "CanvasRenderingContext2D.h" | 36 #include "CanvasRenderingContext2D.h" |
38 #include "CanvasStyle.h" | 37 #include "CanvasStyle.h" |
39 #include "Document.h" | |
40 #include "ExceptionCode.h" | |
41 #include "HTMLNames.h" | 38 #include "HTMLNames.h" |
42 #include "ImageData.h" | 39 #include "ImageData.h" |
43 #include "ScriptController.h" | 40 #include "ScriptController.h" |
44 #include "WebCoreMemoryInstrumentation.h" | 41 #include "core/dom/Attribute.h" |
| 42 #include "core/dom/Document.h" |
| 43 #include "core/dom/ExceptionCode.h" |
| 44 #include "core/dom/WebCoreMemoryInstrumentation.h" |
45 #include "core/page/Chrome.h" | 45 #include "core/page/Chrome.h" |
46 #include "core/page/Frame.h" | 46 #include "core/page/Frame.h" |
47 #include "core/page/Page.h" | 47 #include "core/page/Page.h" |
48 #include "core/page/Settings.h" | 48 #include "core/page/Settings.h" |
49 #include "core/platform/MIMETypeRegistry.h" | 49 #include "core/platform/MIMETypeRegistry.h" |
50 #include "core/platform/graphics/GraphicsContext.h" | 50 #include "core/platform/graphics/GraphicsContext.h" |
51 #include "core/platform/graphics/ImageBuffer.h" | 51 #include "core/platform/graphics/ImageBuffer.h" |
52 #include "core/rendering/RenderHTMLCanvas.h" | 52 #include "core/rendering/RenderHTMLCanvas.h" |
53 | 53 |
54 #include "WebGLContextAttributes.h" | 54 #include "WebGLContextAttributes.h" |
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
589 HTMLElement::reportMemoryUsage(memoryObjectInfo); | 589 HTMLElement::reportMemoryUsage(memoryObjectInfo); |
590 info.addMember(m_observers, "observers"); | 590 info.addMember(m_observers, "observers"); |
591 info.addMember(m_context, "context"); | 591 info.addMember(m_context, "context"); |
592 info.addMember(m_imageBuffer, "imageBuffer"); | 592 info.addMember(m_imageBuffer, "imageBuffer"); |
593 info.addMember(m_contextStateSaver, "contextStateSaver"); | 593 info.addMember(m_contextStateSaver, "contextStateSaver"); |
594 info.addMember(m_presentedImage, "presentedImage"); | 594 info.addMember(m_presentedImage, "presentedImage"); |
595 info.addMember(m_copiedImage, "copiedImage"); | 595 info.addMember(m_copiedImage, "copiedImage"); |
596 } | 596 } |
597 | 597 |
598 } | 598 } |
OLD | NEW |