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

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

Issue 2188983003: ResizeObserver pt5: size change notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: All CR comments addressed Created 4 years, 5 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 | third_party/WebKit/Source/core/observer/ResizeObservation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 18b6f0ef3a45ad2aa5fae9a3121f5758c2f7096c..29ec1a13c4165d7c9ba9da3f4b65467fbc94c525 100644
--- a/third_party/WebKit/Source/core/observer/ResizeObservation.h
+++ b/third_party/WebKit/Source/core/observer/ResizeObservation.h
@@ -24,6 +24,7 @@ public:
void setObservationSize(const LayoutSize&);
// True if observationSize differs from target's current size.
bool observationSizeOutOfSync() const;
+ void elementSizeChanged();
static LayoutSize getTargetSize(Element* target);
@@ -34,6 +35,7 @@ private:
Member<ResizeObserver> m_observer;
// Target size sent in last observation notification.
LayoutSize m_observationSize;
+ bool m_elementSizeChanged;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/observer/ResizeObservation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698