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

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: 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..287b0fb91a73122cf272c17b5bcf3b6dbef3b4b3 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,8 @@ private:
Member<ResizeObserver> m_observer;
// Target size sent in last observation notification.
LayoutSize m_observationSize;
+ // True if Element reported size change.
eae 2016/07/28 18:18:32 Please remove unnecessary comment, the name is cle
atotic1 2016/07/28 20:36:59 Done.
+ 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