| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #include "core/html/HTMLImageElement.h" | 49 #include "core/html/HTMLImageElement.h" |
| 50 #include "core/html/HTMLInputElement.h" | 50 #include "core/html/HTMLInputElement.h" |
| 51 #include "core/html/HTMLSelectElement.h" | 51 #include "core/html/HTMLSelectElement.h" |
| 52 #include "core/html/ImageData.h" | 52 #include "core/html/ImageData.h" |
| 53 #include "core/html/canvas/CanvasAsyncBlobCreator.h" | 53 #include "core/html/canvas/CanvasAsyncBlobCreator.h" |
| 54 #include "core/html/canvas/CanvasContextCreationAttributes.h" | 54 #include "core/html/canvas/CanvasContextCreationAttributes.h" |
| 55 #include "core/html/canvas/CanvasFontCache.h" | 55 #include "core/html/canvas/CanvasFontCache.h" |
| 56 #include "core/html/canvas/CanvasRenderingContext.h" | 56 #include "core/html/canvas/CanvasRenderingContext.h" |
| 57 #include "core/html/canvas/CanvasRenderingContextFactory.h" | 57 #include "core/html/canvas/CanvasRenderingContextFactory.h" |
| 58 #include "core/imagebitmap/ImageBitmapOptions.h" | 58 #include "core/imagebitmap/ImageBitmapOptions.h" |
| 59 #include "core/inspector/InspectorInstrumentation.h" | |
| 60 #include "core/layout/HitTestCanvasResult.h" | 59 #include "core/layout/HitTestCanvasResult.h" |
| 61 #include "core/layout/LayoutHTMLCanvas.h" | 60 #include "core/layout/LayoutHTMLCanvas.h" |
| 62 #include "core/layout/api/LayoutViewItem.h" | 61 #include "core/layout/api/LayoutViewItem.h" |
| 63 #include "core/layout/compositing/PaintLayerCompositor.h" | 62 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 64 #include "core/page/ChromeClient.h" | 63 #include "core/page/ChromeClient.h" |
| 65 #include "core/paint/PaintLayer.h" | 64 #include "core/paint/PaintLayer.h" |
| 66 #include "core/paint/PaintTiming.h" | 65 #include "core/paint/PaintTiming.h" |
| 66 #include "core/probe/CoreProbes.h" |
| 67 #include "platform/Histogram.h" | 67 #include "platform/Histogram.h" |
| 68 #include "platform/RuntimeEnabledFeatures.h" | 68 #include "platform/RuntimeEnabledFeatures.h" |
| 69 #include "platform/graphics/Canvas2DImageBufferSurface.h" | 69 #include "platform/graphics/Canvas2DImageBufferSurface.h" |
| 70 #include "platform/graphics/CanvasMetrics.h" | 70 #include "platform/graphics/CanvasMetrics.h" |
| 71 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h" | 71 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h" |
| 72 #include "platform/graphics/ImageBuffer.h" | 72 #include "platform/graphics/ImageBuffer.h" |
| 73 #include "platform/graphics/RecordingImageBufferSurface.h" | 73 #include "platform/graphics/RecordingImageBufferSurface.h" |
| 74 #include "platform/graphics/StaticBitmapImage.h" | 74 #include "platform/graphics/StaticBitmapImage.h" |
| 75 #include "platform/graphics/UnacceleratedImageBufferSurface.h" | 75 #include "platform/graphics/UnacceleratedImageBufferSurface.h" |
| 76 #include "platform/graphics/gpu/AcceleratedImageBufferSurface.h" | 76 #include "platform/graphics/gpu/AcceleratedImageBufferSurface.h" |
| (...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1449 // Creates a placeholder layer first before Surface is created. | 1449 // Creates a placeholder layer first before Surface is created. |
| 1450 m_surfaceLayerBridge->createSolidColorLayer(); | 1450 m_surfaceLayerBridge->createSolidColorLayer(); |
| 1451 } | 1451 } |
| 1452 } | 1452 } |
| 1453 | 1453 |
| 1454 void HTMLCanvasElement::OnWebLayerReplaced() { | 1454 void HTMLCanvasElement::OnWebLayerReplaced() { |
| 1455 setNeedsCompositingUpdate(); | 1455 setNeedsCompositingUpdate(); |
| 1456 } | 1456 } |
| 1457 | 1457 |
| 1458 } // namespace blink | 1458 } // namespace blink |
| OLD | NEW |