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

Side by Side Diff: third_party/WebKit/Source/core/page/PageAnimator.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 PageAnimator_h 5 #ifndef PageAnimator_h
6 #define PageAnimator_h 6 #define PageAnimator_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/animation/AnimationClock.h" 9 #include "core/animation/AnimationClock.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class LocalFrame; 14 class LocalFrame;
15 class Page; 15 class Page;
16 16
17 class CORE_EXPORT PageAnimator final : public RefCountedWillBeGarbageCollected<P ageAnimator> { 17 class CORE_EXPORT PageAnimator final : public GarbageCollected<PageAnimator> {
18 public: 18 public:
19 static PassRefPtrWillBeRawPtr<PageAnimator> create(Page&); 19 static RawPtr<PageAnimator> create(Page&);
20 DECLARE_TRACE(); 20 DECLARE_TRACE();
21 void scheduleVisualUpdate(LocalFrame*); 21 void scheduleVisualUpdate(LocalFrame*);
22 void serviceScriptedAnimations(double monotonicAnimationStartTime); 22 void serviceScriptedAnimations(double monotonicAnimationStartTime);
23 23
24 bool isServicingAnimations() const { return m_servicingAnimations; } 24 bool isServicingAnimations() const { return m_servicingAnimations; }
25 25
26 // See documents of methods with the same names in FrameView class. 26 // See documents of methods with the same names in FrameView class.
27 void updateAllLifecyclePhases(LocalFrame& rootFrame); 27 void updateAllLifecyclePhases(LocalFrame& rootFrame);
28 AnimationClock& clock() { return m_animationClock; } 28 AnimationClock& clock() { return m_animationClock; }
29 29
30 private: 30 private:
31 explicit PageAnimator(Page&); 31 explicit PageAnimator(Page&);
32 32
33 RawPtrWillBeMember<Page> m_page; 33 Member<Page> m_page;
34 bool m_servicingAnimations; 34 bool m_servicingAnimations;
35 bool m_updatingLayoutAndStyleForPainting; 35 bool m_updatingLayoutAndStyleForPainting;
36 AnimationClock m_animationClock; 36 AnimationClock m_animationClock;
37 }; 37 };
38 38
39 } // namespace blink 39 } // namespace blink
40 40
41 #endif // PageAnimator_h 41 #endif // PageAnimator_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/Source/core/page/PageAnimator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698