Chromium Code Reviews| 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 24 matching lines...) Expand all Loading... | |
| 35 #include "core/dom/Document.h" | 35 #include "core/dom/Document.h" |
| 36 #include "core/dom/Element.h" | 36 #include "core/dom/Element.h" |
| 37 #include "core/dom/ElementTraversal.h" | 37 #include "core/dom/ElementTraversal.h" |
| 38 #include "core/dom/ExceptionCode.h" | 38 #include "core/dom/ExceptionCode.h" |
| 39 #include "core/dom/TaskRunnerHelper.h" | 39 #include "core/dom/TaskRunnerHelper.h" |
| 40 #include "core/fileapi/File.h" | 40 #include "core/fileapi/File.h" |
| 41 #include "core/frame/ImageBitmap.h" | 41 #include "core/frame/ImageBitmap.h" |
| 42 #include "core/frame/LocalFrame.h" | 42 #include "core/frame/LocalFrame.h" |
| 43 #include "core/frame/Settings.h" | 43 #include "core/frame/Settings.h" |
| 44 #include "core/frame/UseCounter.h" | 44 #include "core/frame/UseCounter.h" |
| 45 #include "core/html/Float32ImageData.h" | |
|
Justin Novosad
2016/12/08 18:16:35
Why is this needed?
zakerinasab
2016/12/08 20:40:52
Removed for now.
| |
| 45 #include "core/html/HTMLImageElement.h" | 46 #include "core/html/HTMLImageElement.h" |
| 46 #include "core/html/HTMLInputElement.h" | 47 #include "core/html/HTMLInputElement.h" |
| 47 #include "core/html/HTMLSelectElement.h" | 48 #include "core/html/HTMLSelectElement.h" |
| 48 #include "core/html/ImageData.h" | 49 #include "core/html/ImageData.h" |
| 49 #include "core/html/canvas/CanvasAsyncBlobCreator.h" | 50 #include "core/html/canvas/CanvasAsyncBlobCreator.h" |
| 50 #include "core/html/canvas/CanvasContextCreationAttributes.h" | 51 #include "core/html/canvas/CanvasContextCreationAttributes.h" |
| 51 #include "core/html/canvas/CanvasFontCache.h" | 52 #include "core/html/canvas/CanvasFontCache.h" |
| 52 #include "core/html/canvas/CanvasRenderingContext.h" | 53 #include "core/html/canvas/CanvasRenderingContext.h" |
| 53 #include "core/html/canvas/CanvasRenderingContextFactory.h" | 54 #include "core/html/canvas/CanvasRenderingContextFactory.h" |
| 54 #include "core/imagebitmap/ImageBitmapOptions.h" | 55 #include "core/imagebitmap/ImageBitmapOptions.h" |
| (...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1373 mojom::blink::OffscreenCanvasSurfacePtr service; | 1374 mojom::blink::OffscreenCanvasSurfacePtr service; |
| 1374 Platform::current()->interfaceProvider()->getInterface( | 1375 Platform::current()->interfaceProvider()->getInterface( |
| 1375 mojo::GetProxy(&service)); | 1376 mojo::GetProxy(&service)); |
| 1376 m_surfaceLayerBridge = | 1377 m_surfaceLayerBridge = |
| 1377 wrapUnique(new CanvasSurfaceLayerBridge(std::move(service))); | 1378 wrapUnique(new CanvasSurfaceLayerBridge(std::move(service))); |
| 1378 return m_surfaceLayerBridge->createSurfaceLayer(this->width(), | 1379 return m_surfaceLayerBridge->createSurfaceLayer(this->width(), |
| 1379 this->height()); | 1380 this->height()); |
| 1380 } | 1381 } |
| 1381 | 1382 |
| 1382 } // namespace blink | 1383 } // namespace blink |
| OLD | NEW |