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

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

Issue 1055263002: Make custom layout actually work. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
« 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 caf38d12c61f240997d507d9565f44bf6cdbe83d..0ed9f01a2dcce3baeb5c83e30b4aea16949090ac 100644
--- a/sky/engine/core/dom/Element.h
+++ b/sky/engine/core/dom/Element.h
@@ -201,6 +201,7 @@ public:
ElementShadow& ensureShadow();
PassRefPtr<ShadowRoot> ensureShadowRoot(ExceptionState&);
ShadowRoot* shadowRoot() const;
+ bool hasAuthorShadowRoot() const { return shadowRoot(); }
double x() const;
void setX(double);
@@ -214,7 +215,8 @@ public:
double height() const;
void setHeight(double);
- bool hasAuthorShadowRoot() const { return shadowRoot(); }
+ void setNeedsLayout();
+ void layout();
LayoutCallback* layoutManager() const;
void setLayoutManager(PassOwnPtr<LayoutCallback>);
« 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