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

Side by Side Diff: third_party/WebKit/Source/modules/canvas/HTMLCanvasElementModule.h

Issue 2479563005: Create manager to track OffscreenCanvasSurfaceImpl instances (Closed)
Patch Set: Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 HTMLCanvasElementModule_h 5 #ifndef HTMLCanvasElementModule_h
6 #define HTMLCanvasElementModule_h 6 #define HTMLCanvasElementModule_h
7 7
8 #include "core/html/HTMLCanvasElement.h" 8 #include "core/html/HTMLCanvasElement.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "wtf/text/WTFString.h" 10 #include "wtf/text/WTFString.h"
(...skipping 14 matching lines...) Expand all
25 static void getContext(HTMLCanvasElement&, 25 static void getContext(HTMLCanvasElement&,
26 const String&, 26 const String&,
27 const CanvasContextCreationAttributes&, 27 const CanvasContextCreationAttributes&,
28 ExceptionState&, 28 ExceptionState&,
29 RenderingContext&); 29 RenderingContext&);
30 static OffscreenCanvas* transferControlToOffscreen(HTMLCanvasElement&, 30 static OffscreenCanvas* transferControlToOffscreen(HTMLCanvasElement&,
31 ExceptionState&); 31 ExceptionState&);
32 32
33 private: 33 private:
34 static OffscreenCanvas* transferControlToOffscreenInternal(HTMLCanvasElement&, 34 static OffscreenCanvas* transferControlToOffscreenInternal(HTMLCanvasElement&,
35 int canvasId,
35 ExceptionState&); 36 ExceptionState&);
36 }; 37 };
37 } 38 }
38 39
39 #endif 40 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698