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

Side by Side Diff: Source/core/page/animation/AnimationController.cpp

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 22 matching lines...) Expand all
33 #include "core/dom/EventNames.h" 33 #include "core/dom/EventNames.h"
34 #include "core/dom/PseudoElement.h" 34 #include "core/dom/PseudoElement.h"
35 #include "core/dom/TransitionEvent.h" 35 #include "core/dom/TransitionEvent.h"
36 #include "core/page/Frame.h" 36 #include "core/page/Frame.h"
37 #include "core/page/FrameView.h" 37 #include "core/page/FrameView.h"
38 #include "core/page/animation/AnimationBase.h" 38 #include "core/page/animation/AnimationBase.h"
39 #include "core/page/animation/AnimationControllerPrivate.h" 39 #include "core/page/animation/AnimationControllerPrivate.h"
40 #include "core/page/animation/CSSPropertyAnimation.h" 40 #include "core/page/animation/CSSPropertyAnimation.h"
41 #include "core/page/animation/CompositeAnimation.h" 41 #include "core/page/animation/CompositeAnimation.h"
42 #include "core/rendering/RenderView.h" 42 #include "core/rendering/RenderView.h"
43 #include <wtf/CurrentTime.h> 43 #include "wtf/CurrentTime.h"
44 #include <wtf/UnusedParam.h>
45 44
46 namespace WebCore { 45 namespace WebCore {
47 46
48 static const double cAnimationTimerDelay = 0.025; 47 static const double cAnimationTimerDelay = 0.025;
49 static const double cBeginAnimationUpdateTimeNotSet = -1; 48 static const double cBeginAnimationUpdateTimeNotSet = -1;
50 49
51 AnimationControllerPrivate::AnimationControllerPrivate(Frame* frame) 50 AnimationControllerPrivate::AnimationControllerPrivate(Frame* frame)
52 : m_animationTimer(this, &AnimationControllerPrivate::animationTimerFired) 51 : m_animationTimer(this, &AnimationControllerPrivate::animationTimerFired)
53 , m_updateStyleIfNeededDispatcher(this, &AnimationControllerPrivate::updateS tyleIfNeededDispatcherFired) 52 , m_updateStyleIfNeededDispatcher(this, &AnimationControllerPrivate::updateS tyleIfNeededDispatcherFired)
54 , m_frame(frame) 53 , m_frame(frame)
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 if (!m_beginAnimationUpdateCount) 570 if (!m_beginAnimationUpdateCount)
572 m_data->endAnimationUpdate(); 571 m_data->endAnimationUpdate();
573 } 572 }
574 573
575 bool AnimationController::supportsAcceleratedAnimationOfProperty(CSSPropertyID p roperty) 574 bool AnimationController::supportsAcceleratedAnimationOfProperty(CSSPropertyID p roperty)
576 { 575 {
577 return CSSPropertyAnimation::animationOfPropertyIsAccelerated(property); 576 return CSSPropertyAnimation::animationOfPropertyIsAccelerated(property);
578 } 577 }
579 578
580 } // namespace WebCore 579 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/animation/AnimationBase.cpp ('k') | Source/core/page/animation/CSSPropertyAnimation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698