OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ImageAnimationPolicy_h |
| 6 #define ImageAnimationPolicy_h |
| 7 |
| 8 namespace blink { |
| 9 |
| 10 // ImageAnimationPolicy is used for controlling image animation |
| 11 // when image frame is rendered for animation |
| 12 |
| 13 enum ImageAnimationPolicy { |
| 14 // Animate the image (the default). |
| 15 ImageAnimationPolicyAllowed, |
| 16 // Animate image just once. |
| 17 ImageAnimationPolicyAnimateOnce, |
| 18 // Show the first frame and do not animate. |
| 19 ImageAnimationPolicyNoAnimation |
| 20 }; |
| 21 |
| 22 } // namespace blink |
| 23 |
| 24 #endif // ImageAnimationPolicy_h |
OLD | NEW |