OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "modules/canvas2d/CanvasRenderingContext2D.h" | 5 #include "modules/canvas2d/CanvasRenderingContext2D.h" |
6 | 6 |
7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
8 #include "core/fetch/MemoryCache.h" | |
9 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
10 #include "core/frame/ImageBitmap.h" | 9 #include "core/frame/ImageBitmap.h" |
11 #include "core/html/HTMLCanvasElement.h" | 10 #include "core/html/HTMLCanvasElement.h" |
12 #include "core/html/ImageData.h" | 11 #include "core/html/ImageData.h" |
13 #include "core/imagebitmap/ImageBitmapOptions.h" | 12 #include "core/imagebitmap/ImageBitmapOptions.h" |
14 #include "core/loader/EmptyClients.h" | 13 #include "core/loader/EmptyClients.h" |
15 #include "core/testing/DummyPageHolder.h" | 14 #include "core/testing/DummyPageHolder.h" |
16 #include "modules/canvas2d/CanvasGradient.h" | 15 #include "modules/canvas2d/CanvasGradient.h" |
17 #include "modules/canvas2d/CanvasPattern.h" | 16 #include "modules/canvas2d/CanvasPattern.h" |
18 #include "modules/webgl/WebGLRenderingContext.h" | 17 #include "modules/webgl/WebGLRenderingContext.h" |
19 #include "platform/graphics/Canvas2DImageBufferSurface.h" | 18 #include "platform/graphics/Canvas2DImageBufferSurface.h" |
20 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h" | 19 #include "platform/graphics/ExpensiveCanvasHeuristicParameters.h" |
21 #include "platform/graphics/RecordingImageBufferSurface.h" | 20 #include "platform/graphics/RecordingImageBufferSurface.h" |
22 #include "platform/graphics/StaticBitmapImage.h" | 21 #include "platform/graphics/StaticBitmapImage.h" |
23 #include "platform/graphics/UnacceleratedImageBufferSurface.h" | 22 #include "platform/graphics/UnacceleratedImageBufferSurface.h" |
24 #include "platform/graphics/test/FakeGLES2Interface.h" | 23 #include "platform/graphics/test/FakeGLES2Interface.h" |
25 #include "platform/graphics/test/FakeWebGraphicsContext3DProvider.h" | 24 #include "platform/graphics/test/FakeWebGraphicsContext3DProvider.h" |
| 25 #include "platform/loader/fetch/MemoryCache.h" |
26 #include "testing/gmock/include/gmock/gmock.h" | 26 #include "testing/gmock/include/gmock/gmock.h" |
27 #include "testing/gtest/include/gtest/gtest.h" | 27 #include "testing/gtest/include/gtest/gtest.h" |
28 #include "third_party/skia/include/core/SkColorSpaceXform.h" | 28 #include "third_party/skia/include/core/SkColorSpaceXform.h" |
29 #include "third_party/skia/include/core/SkImage.h" | 29 #include "third_party/skia/include/core/SkImage.h" |
30 #include "third_party/skia/include/core/SkSurface.h" | 30 #include "third_party/skia/include/core/SkSurface.h" |
31 #include "wtf/PtrUtil.h" | 31 #include "wtf/PtrUtil.h" |
32 #include <memory> | 32 #include <memory> |
33 | 33 |
34 using ::testing::Mock; | 34 using ::testing::Mock; |
35 | 35 |
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1403 | 1403 |
1404 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled( | 1404 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled( |
1405 experimentalCanvasFeaturesRuntimeFlag); | 1405 experimentalCanvasFeaturesRuntimeFlag); |
1406 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled( | 1406 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled( |
1407 colorCorrectRenderingRuntimeFlag); | 1407 colorCorrectRenderingRuntimeFlag); |
1408 RuntimeEnabledFeatures::setColorCorrectRenderingDefaultModeEnabled( | 1408 RuntimeEnabledFeatures::setColorCorrectRenderingDefaultModeEnabled( |
1409 colorCorrectRenderingDefaultModeRuntimeFlag); | 1409 colorCorrectRenderingDefaultModeRuntimeFlag); |
1410 } | 1410 } |
1411 | 1411 |
1412 } // namespace blink | 1412 } // namespace blink |
OLD | NEW |