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

Unified Diff: sky/engine/core/dom/Element.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Element.h
diff --git a/sky/engine/core/dom/Element.h b/sky/engine/core/dom/Element.h
index b497c7533eca4ead40df10cc5d589984162bc478..d0b5e1a1cb22c19eeb7b7e8dfdd6c93c78170c38 100644
--- a/sky/engine/core/dom/Element.h
+++ b/sky/engine/core/dom/Element.h
@@ -53,6 +53,7 @@ class IntSize;
class LayoutCallback;
class MutableStylePropertySet;
class PaintingCallback;
+class PictureRecorder;
class PropertySetCSSStyleDeclaration;
class PseudoElement;
class ShadowRoot;
@@ -298,6 +299,9 @@ public:
const AtomicString& dir();
void setDir(const AtomicString&);
+ // Dart exposed:
+ void paint(PictureRecorder*);
+
protected:
Element(const QualifiedName& tagName, Document*, ConstructionType);
« no previous file with comments | « no previous file | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698