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

Side by Side Diff: third_party/WebKit/Source/core/dom/ResizeObservation.h

Issue 2843603002: Move ScriptWrappable and dependencies to platform/bindings (Closed)
Patch Set: Rebase and try again Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ResizeObservation_h 5 #ifndef ResizeObservation_h
6 #define ResizeObservation_h 6 #define ResizeObservation_h
7 7
8 #include "core/CoreExport.h"
8 #include "core/dom/ResizeObserverEntry.h" 9 #include "core/dom/ResizeObserverEntry.h"
9 #include "platform/geometry/LayoutSize.h" 10 #include "platform/geometry/LayoutSize.h"
10 #include "platform/heap/Handle.h" 11 #include "platform/heap/Handle.h"
11 12
12 namespace blink { 13 namespace blink {
13 14
14 class Element; 15 class Element;
15 class ResizeObserver; 16 class ResizeObserver;
16 17
17 // ResizeObservation represents an element that is being observed. 18 // ResizeObservation represents an element that is being observed.
(...skipping 18 matching lines...) Expand all
36 WeakMember<Element> target_; 37 WeakMember<Element> target_;
37 Member<ResizeObserver> observer_; 38 Member<ResizeObserver> observer_;
38 // Target size sent in last observation notification. 39 // Target size sent in last observation notification.
39 LayoutSize observation_size_; 40 LayoutSize observation_size_;
40 bool element_size_changed_; 41 bool element_size_changed_;
41 }; 42 };
42 43
43 } // namespace blink 44 } // namespace blink
44 45
45 #endif // ResizeObservation_h 46 #endif // ResizeObservation_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/IdleDeadline.h ('k') | third_party/WebKit/Source/core/dom/ResizeObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698