Index: third_party/WebKit/Source/core/observer/ResizeObservation.h |
diff --git a/third_party/WebKit/Source/core/observer/ResizeObservation.h b/third_party/WebKit/Source/core/observer/ResizeObservation.h |
index 29ec1a13c4165d7c9ba9da3f4b65467fbc94c525..038e26f1b998efeb954a43d3723d3d36f9dfa4b2 100644 |
--- a/third_party/WebKit/Source/core/observer/ResizeObservation.h |
+++ b/third_party/WebKit/Source/core/observer/ResizeObservation.h |
@@ -21,12 +21,13 @@ public: |
Element* target() const { return m_target; } |
size_t targetDepth(); |
- void setObservationSize(const LayoutSize&); |
// True if observationSize differs from target's current size. |
- bool observationSizeOutOfSync() const; |
+ bool observationSizeOutOfSync(); |
+ void setObservationSize(const LayoutSize&); |
void elementSizeChanged(); |
- static LayoutSize getTargetSize(Element* target); |
+ LayoutSize computeTargetSize() const; |
+ LayoutPoint computeTargetLocation() const; |
DECLARE_TRACE(); |