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

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

Issue 1017593005: Add a basic custom painting facility to Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add missing files Created 5 years, 9 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/dom/Element.h
diff --git a/sky/engine/core/dom/Element.h b/sky/engine/core/dom/Element.h
index 06fb806f0a18d1fedfdcd82c3fa0400ca1c9896a..5772343bd2ad48838557d3ed074c11c4d5140488 100644
--- a/sky/engine/core/dom/Element.h
+++ b/sky/engine/core/dom/Element.h
@@ -51,6 +51,7 @@ class ExceptionState;
class Image;
class IntSize;
class MutableStylePropertySet;
+class PaintingCallback;
class PropertySetCSSStyleDeclaration;
class PseudoElement;
class ShadowRoot;
@@ -126,6 +127,8 @@ public:
PassRefPtr<ClientRectList> getClientRects();
PassRefPtr<ClientRect> getBoundingClientRect();
+ void requestPaint(PassOwnPtr<PaintingCallback>);
+
virtual void didMoveToNewDocument(Document&) override;
CSSStyleDeclaration* style();

Powered by Google App Engine
This is Rietveld 408576698