OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <memory> |
5 #include "bindings/core/v8/ScriptPromiseResolver.h" | 6 #include "bindings/core/v8/ScriptPromiseResolver.h" |
6 #include "core/CoreExport.h" | 7 #include "core/CoreExport.h" |
7 #include "core/dom/DOMTypedArray.h" | 8 #include "core/dom/DOMTypedArray.h" |
8 #include "core/fileapi/BlobCallback.h" | 9 #include "core/fileapi/BlobCallback.h" |
9 #include "core/workers/ParentFrameTaskRunners.h" | 10 #include "core/workers/ParentFrameTaskRunners.h" |
10 #include "platform/geometry/IntSize.h" | 11 #include "platform/geometry/IntSize.h" |
11 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
12 #include "public/platform/WebTraceLocation.h" | 13 #include "public/platform/WebTraceLocation.h" |
13 #include "wtf/Vector.h" | 14 #include "wtf/Vector.h" |
14 #include "wtf/text/WTFString.h" | 15 #include "wtf/text/WTFString.h" |
15 #include <memory> | |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 | 18 |
19 class Document; | 19 class Document; |
20 class JPEGImageEncoderState; | 20 class JPEGImageEncoderState; |
21 class PNGImageEncoderState; | 21 class PNGImageEncoderState; |
22 | 22 |
23 class CORE_EXPORT CanvasAsyncBlobCreator | 23 class CORE_EXPORT CanvasAsyncBlobCreator |
24 : public GarbageCollectedFinalized<CanvasAsyncBlobCreator> { | 24 : public GarbageCollectedFinalized<CanvasAsyncBlobCreator> { |
25 public: | 25 public: |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // deadline | 136 // deadline |
137 | 137 |
138 // WEBP | 138 // WEBP |
139 void encodeImageOnEncoderThread(double quality); | 139 void encodeImageOnEncoderThread(double quality); |
140 | 140 |
141 void idleTaskStartTimeoutEvent(double quality); | 141 void idleTaskStartTimeoutEvent(double quality); |
142 void idleTaskCompleteTimeoutEvent(); | 142 void idleTaskCompleteTimeoutEvent(); |
143 }; | 143 }; |
144 | 144 |
145 } // namespace blink | 145 } // namespace blink |
OLD | NEW |