Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef OffscreenCanvas_h 5 #ifndef OffscreenCanvas_h
6 #define OffscreenCanvas_h 6 #define OffscreenCanvas_h
7 7
8 #include <memory>
8 #include "bindings/core/v8/ScriptPromise.h" 9 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptState.h" 10 #include "bindings/core/v8/ScriptState.h"
10 #include "bindings/core/v8/ScriptWrappable.h" 11 #include "bindings/core/v8/ScriptWrappable.h"
11 #include "core/events/EventTarget.h" 12 #include "core/events/EventTarget.h"
12 #include "core/html/HTMLCanvasElement.h" 13 #include "core/html/HTMLCanvasElement.h"
13 #include "core/html/canvas/CanvasImageSource.h" 14 #include "core/html/canvas/CanvasImageSource.h"
14 #include "core/offscreencanvas/ImageEncodeOptions.h" 15 #include "core/offscreencanvas/ImageEncodeOptions.h"
15 #include "platform/geometry/IntSize.h" 16 #include "platform/geometry/IntSize.h"
16 #include "platform/graphics/OffscreenCanvasFrameDispatcher.h" 17 #include "platform/graphics/OffscreenCanvasFrameDispatcher.h"
17 #include "platform/heap/Handle.h" 18 #include "platform/heap/Handle.h"
18 #include <memory>
19 19
20 namespace blink { 20 namespace blink {
21 21
22 class CanvasContextCreationAttributes; 22 class CanvasContextCreationAttributes;
23 class ImageBitmap; 23 class ImageBitmap;
24 class 24 class
25 OffscreenCanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingCon text; 25 OffscreenCanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingCon text;
26 typedef OffscreenCanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2Renderin gContext 26 typedef OffscreenCanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2Renderin gContext
27 OffscreenRenderingContext; 27 OffscreenRenderingContext;
28 28
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // If this object is not created via 165 // If this object is not created via
166 // HTMLCanvasElement.transferControlToOffscreen(), 166 // HTMLCanvasElement.transferControlToOffscreen(),
167 // then the following members would remain as initialized zero values. 167 // then the following members would remain as initialized zero values.
168 uint32_t m_clientId = 0; 168 uint32_t m_clientId = 0;
169 uint32_t m_sinkId = 0; 169 uint32_t m_sinkId = 0;
170 }; 170 };
171 171
172 } // namespace blink 172 } // namespace blink
173 173
174 #endif // OffscreenCanvas_h 174 #endif // OffscreenCanvas_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698