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

Side by Side Diff: Source/core/animation/Player.h

Issue 172003002: Web Animations: Don't mark players as outdated upon currentTime access (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@currentplayers
Patch Set: add test Created 6 years, 9 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
« no previous file with comments | « Source/core/animation/DocumentTimeline.cpp ('k') | Source/core/animation/Player.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 RefPtr<TimedItem> m_content; 113 RefPtr<TimedItem> m_content;
114 // FIXME: We should keep the timeline alive and have this as non-null 114 // FIXME: We should keep the timeline alive and have this as non-null
115 // but this is tricky to do without Oilpan 115 // but this is tricky to do without Oilpan
116 DocumentTimeline* m_timeline; 116 DocumentTimeline* m_timeline;
117 // Reflects all pausing, including via pauseForTesting(). 117 // Reflects all pausing, including via pauseForTesting().
118 bool m_paused; 118 bool m_paused;
119 bool m_held; 119 bool m_held;
120 bool m_isPausedForTesting; 120 bool m_isPausedForTesting;
121 121
122 // This indicates timing information relevant to the player has changed 122 // This indicates timing information relevant to the player has changed by
123 // means other than the ordinary progression of time
123 bool m_outdated; 124 bool m_outdated;
124 }; 125 };
125 126
126 } // namespace 127 } // namespace
127 128
128 #endif 129 #endif
OLDNEW
« no previous file with comments | « Source/core/animation/DocumentTimeline.cpp ('k') | Source/core/animation/Player.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698