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

Side by Side Diff: third_party/WebKit/Source/core/observer/ResizeObserver.h

Issue 2463703003: blink: Cleanup core class forward declarations (Closed)
Patch Set: Remove redundant empty lines Created 4 years, 1 month 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 ResizeObserver_h 5 #ifndef ResizeObserver_h
6 #define ResizeObserver_h 6 #define ResizeObserver_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class Document; 13 class Document;
14 class Element; 14 class Element;
15 class ResizeObserverCallback; 15 class ResizeObserverCallback;
16 class ResizeObserverController; 16 class ResizeObserverController;
17 class ResizeObserverEntry;
18 class ResizeObservation; 17 class ResizeObservation;
19 18
20 // ResizeObserver represents ResizeObserver javascript api: 19 // ResizeObserver represents ResizeObserver javascript api:
21 // https://github.com/WICG/ResizeObserver/ 20 // https://github.com/WICG/ResizeObserver/
22 class CORE_EXPORT ResizeObserver final 21 class CORE_EXPORT ResizeObserver final
23 : public GarbageCollectedFinalized<ResizeObserver>, 22 : public GarbageCollectedFinalized<ResizeObserver>,
24 public ScriptWrappable { 23 public ScriptWrappable {
25 DEFINE_WRAPPERTYPEINFO(); 24 DEFINE_WRAPPERTYPEINFO();
26 25
27 public: 26 public:
(...skipping 28 matching lines...) Expand all
56 // True if observations were skipped gatherObservations 55 // True if observations were skipped gatherObservations
57 bool m_skippedObservations; 56 bool m_skippedObservations;
58 // True if any ResizeObservation reported size change 57 // True if any ResizeObservation reported size change
59 bool m_elementSizeChanged; 58 bool m_elementSizeChanged;
60 WeakMember<ResizeObserverController> m_controller; 59 WeakMember<ResizeObserverController> m_controller;
61 }; 60 };
62 61
63 } // namespace blink 62 } // namespace blink
64 63
65 #endif // ResizeObserver_h 64 #endif // ResizeObserver_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/PingLoader.h ('k') | third_party/WebKit/Source/core/observer/ResizeObserverCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698