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

Side by Side 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: Rework the API a bit 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 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 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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698