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

Unified Diff: third_party/WebKit/Source/core/observer/ResizeObservation.h

Issue 2305893002: Fix svg contentrect location (Closed)
Patch Set: forgot to fix c++ tests Created 4 years, 3 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: 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();
« no previous file with comments | « third_party/WebKit/LayoutTests/resize-observer/svg.html ('k') | third_party/WebKit/Source/core/observer/ResizeObservation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698