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

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

Issue 1216833003: Make rendering use PaintingNodes for increased efficiency. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Feedback fixes plus missing critical line that makes it work Created 5 years, 5 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/PaintingNode.idl
diff --git a/sky/engine/core/painting/RRect.idl b/sky/engine/core/painting/PaintingNode.idl
similarity index 71%
copy from sky/engine/core/painting/RRect.idl
copy to sky/engine/core/painting/PaintingNode.idl
index 16d83c73282ccd0c46b267d65ebd8bff8fa37cb7..f084e14b88756c25d0739bc26561ec66cff45967 100644
--- a/sky/engine/core/painting/RRect.idl
+++ b/sky/engine/core/painting/PaintingNode.idl
@@ -1,9 +1,8 @@
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
[
Constructor(),
-] interface RRect {
- void setRectXY(Rect rect, float xRad, float yRad);
+] interface PaintingNode {
+ void setBackingDrawable(Drawable drawable);
};

Powered by Google App Engine
This is Rietveld 408576698