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

Unified Diff: sky/engine/core/painting/PictureRecorder.idl

Issue 1190123003: Decouple Canvas from DisplayList and map Picture and PictureRecorder more directly to their Skia co… (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/painting/PictureRecorder.idl
diff --git a/sky/engine/core/painting/PictureRecorder.idl b/sky/engine/core/painting/PictureRecorder.idl
index b1ea18510b980135bc66694d42e9bd76c926f779..5bd03f0de6c57f2f0c42a8412025e9263d604c0d 100644
--- a/sky/engine/core/painting/PictureRecorder.idl
+++ b/sky/engine/core/painting/PictureRecorder.idl
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
- Constructor(double width, double height)
-] interface PictureRecorder : Canvas {
+ Constructor()
+] interface PictureRecorder {
+ Canvas beginRecording(double width, double height);
Picture endRecording();
+ boolean isRecording();
abarth-chromium 2015/06/18 00:03:52 readonly attribute boolean isRecording; That way
iansf 2015/06/20 00:02:38 Done.
};

Powered by Google App Engine
This is Rietveld 408576698