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/svg/animation/SMILTimeContainer.h

Issue 1941403002: Make servicing of SMIL animations require a FrameView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 SMILTime elapsed() const; 55 SMILTime elapsed() const;
56 56
57 bool isPaused() const; 57 bool isPaused() const;
58 bool isStarted() const; 58 bool isStarted() const;
59 59
60 void begin(); 60 void begin();
61 void pause(); 61 void pause();
62 void resume(); 62 void resume();
63 void setElapsed(SMILTime); 63 void setElapsed(SMILTime);
64 64
65 void serviceAnimations(double monotonicAnimationStartTime); 65 void serviceAnimations();
66 bool hasAnimations() const; 66 bool hasAnimations() const;
67 67
68 void setDocumentOrderIndexesDirty() { m_documentOrderIndexesDirty = true; } 68 void setDocumentOrderIndexesDirty() { m_documentOrderIndexesDirty = true; }
69 69
70 // Advance the animation timeline a single frame. 70 // Advance the animation timeline a single frame.
71 void advanceFrameForTesting(); 71 void advanceFrameForTesting();
72 72
73 DECLARE_TRACE(); 73 DECLARE_TRACE();
74 74
75 private: 75 private:
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 Member<SVGSVGElement> m_ownerSVGElement; 137 Member<SVGSVGElement> m_ownerSVGElement;
138 138
139 #if ENABLE(ASSERT) 139 #if ENABLE(ASSERT)
140 bool m_preventScheduledAnimationsChanges; 140 bool m_preventScheduledAnimationsChanges;
141 #endif 141 #endif
142 }; 142 };
143 } // namespace blink 143 } // namespace blink
144 144
145 #endif // SMILTimeContainer_h 145 #endif // SMILTimeContainer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698