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

Side by Side Diff: sky/engine/core/dom/Element.idl

Issue 1144673002: Make it possible to Paint elements into a display list. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add example Created 5 years, 7 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
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/painting/Canvas.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 [ 5 [
6 CustomConstructor, 6 CustomConstructor,
7 ] interface Element : ParentNode { 7 ] interface Element : ParentNode {
8 readonly attribute DOMString tagName; 8 readonly attribute DOMString tagName;
9 9
10 boolean hasAttribute(DOMString name); 10 boolean hasAttribute(DOMString name);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 readonly attribute long clientTop; 43 readonly attribute long clientTop;
44 readonly attribute long clientWidth; 44 readonly attribute long clientWidth;
45 readonly attribute long clientHeight; 45 readonly attribute long clientHeight;
46 46
47 attribute double x; 47 attribute double x;
48 attribute double y; 48 attribute double y;
49 attribute double width; 49 attribute double width;
50 attribute double height; 50 attribute double height;
51 attribute double minContentWidth; // Intrinsic width if all wrappable points w rap. 51 attribute double minContentWidth; // Intrinsic width if all wrappable points w rap.
52 attribute double maxContentWidth; // Intrinsic width if no wrappable points wr ap. 52 attribute double maxContentWidth; // Intrinsic width if no wrappable points wr ap.
53
54 void paint(PictureRecorder recorder);
53 }; 55 };
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/engine/core/painting/Canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698