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 Constructor(double width, double height) | 5 Constructor() |
6 ] interface PictureRecorder : Canvas { | 6 ] interface PictureRecorder { |
7 readonly attribute boolean isRecording; | |
8 Canvas beginRecording(double width, double height); | |
7 Picture endRecording(); | 9 Picture endRecording(); |
10 void setCanvas(Canvas canvas); | |
Hixie
2015/06/20 00:44:52
Exposing setCanvas() to dart seems really dodgy to
abarth-chromium
2015/06/20 00:50:29
This API doesn't make sense. We should find anoth
| |
8 }; | 11 }; |
OLD | NEW |