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

Side by Side Diff: third_party/WebKit/Source/core/dom/IntersectionObserver.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 #include "core/dom/IntersectionObserver.h" 5 #include "core/dom/IntersectionObserver.h"
6 6
7 #include <algorithm>
7 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
8 #include "core/css/parser/CSSParserTokenRange.h" 9 #include "core/css/parser/CSSParserTokenRange.h"
9 #include "core/css/parser/CSSTokenizer.h" 10 #include "core/css/parser/CSSTokenizer.h"
10 #include "core/dom/Element.h" 11 #include "core/dom/Element.h"
11 #include "core/dom/ElementIntersectionObserverData.h" 12 #include "core/dom/ElementIntersectionObserverData.h"
12 #include "core/dom/ExceptionCode.h" 13 #include "core/dom/ExceptionCode.h"
13 #include "core/dom/ExecutionContext.h" 14 #include "core/dom/ExecutionContext.h"
14 #include "core/dom/IntersectionObserverCallback.h" 15 #include "core/dom/IntersectionObserverCallback.h"
15 #include "core/dom/IntersectionObserverController.h" 16 #include "core/dom/IntersectionObserverController.h"
16 #include "core/dom/IntersectionObserverEntry.h" 17 #include "core/dom/IntersectionObserverEntry.h"
17 #include "core/dom/IntersectionObserverInit.h" 18 #include "core/dom/IntersectionObserverInit.h"
18 #include "core/frame/FrameView.h" 19 #include "core/frame/FrameView.h"
19 #include "core/frame/LocalDOMWindow.h" 20 #include "core/frame/LocalDOMWindow.h"
20 #include "core/frame/LocalFrame.h" 21 #include "core/frame/LocalFrame.h"
21 #include "core/inspector/ConsoleMessage.h" 22 #include "core/inspector/ConsoleMessage.h"
22 #include "core/layout/LayoutView.h" 23 #include "core/layout/LayoutView.h"
23 #include "core/timing/DOMWindowPerformance.h" 24 #include "core/timing/DOMWindowPerformance.h"
24 #include "core/timing/Performance.h" 25 #include "core/timing/Performance.h"
25 #include "platform/Timer.h" 26 #include "platform/Timer.h"
26 #include <algorithm>
27 27
28 namespace blink { 28 namespace blink {
29 29
30 namespace { 30 namespace {
31 31
32 // Internal implementation of IntersectionObserverCallback when using 32 // Internal implementation of IntersectionObserverCallback when using
33 // IntersectionObserver with an EventCallback. 33 // IntersectionObserver with an EventCallback.
34 class IntersectionObserverCallbackImpl final 34 class IntersectionObserverCallbackImpl final
35 : public IntersectionObserverCallback { 35 : public IntersectionObserverCallback {
36 WTF_MAKE_NONCOPYABLE(IntersectionObserverCallbackImpl); 36 WTF_MAKE_NONCOPYABLE(IntersectionObserverCallbackImpl);
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 362
363 DEFINE_TRACE(IntersectionObserver) { 363 DEFINE_TRACE(IntersectionObserver) {
364 visitor->template registerWeakMembers< 364 visitor->template registerWeakMembers<
365 IntersectionObserver, &IntersectionObserver::clearWeakMembers>(this); 365 IntersectionObserver, &IntersectionObserver::clearWeakMembers>(this);
366 visitor->trace(m_callback); 366 visitor->trace(m_callback);
367 visitor->trace(m_observations); 367 visitor->trace(m_observations);
368 visitor->trace(m_entries); 368 visitor->trace(m_entries);
369 } 369 }
370 370
371 } // namespace blink 371 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698