| Index: sky/engine/core/dom/Element.h
|
| diff --git a/sky/engine/core/dom/Element.h b/sky/engine/core/dom/Element.h
|
| index 5772343bd2ad48838557d3ed074c11c4d5140488..caf38d12c61f240997d507d9565f44bf6cdbe83d 100644
|
| --- a/sky/engine/core/dom/Element.h
|
| +++ b/sky/engine/core/dom/Element.h
|
| @@ -50,6 +50,7 @@ class ElementShadow;
|
| class ExceptionState;
|
| class Image;
|
| class IntSize;
|
| +class LayoutCallback;
|
| class MutableStylePropertySet;
|
| class PaintingCallback;
|
| class PropertySetCSSStyleDeclaration;
|
| @@ -201,8 +202,23 @@ public:
|
| PassRefPtr<ShadowRoot> ensureShadowRoot(ExceptionState&);
|
| ShadowRoot* shadowRoot() const;
|
|
|
| + double x() const;
|
| + void setX(double);
|
| +
|
| + double y() const;
|
| + void setY(double);
|
| +
|
| + double width() const;
|
| + void setWidth(double);
|
| +
|
| + double height() const;
|
| + void setHeight(double);
|
| +
|
| bool hasAuthorShadowRoot() const { return shadowRoot(); }
|
|
|
| + LayoutCallback* layoutManager() const;
|
| + void setLayoutManager(PassOwnPtr<LayoutCallback>);
|
| +
|
| RenderStyle* computedStyle();
|
|
|
| bool isUpgradedCustomElement() const { return customElementState() == Upgraded; }
|
| @@ -351,6 +367,7 @@ private:
|
| ElementRareData& ensureElementRareData();
|
|
|
| RefPtr<ElementData> m_elementData;
|
| + OwnPtr<LayoutCallback> m_layoutManager;
|
| };
|
|
|
| DEFINE_NODE_TYPE_CASTS(Element, isElementNode());
|
|
|