| Index: Source/platform/graphics/ImageAnimationPolicy.h
|
| diff --git a/Source/platform/graphics/ImageAnimationPolicy.h b/Source/platform/graphics/ImageAnimationPolicy.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1b7f20cd874b956d6491da10989535f19c7418c6
|
| --- /dev/null
|
| +++ b/Source/platform/graphics/ImageAnimationPolicy.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef ImageAnimationPolicy_h
|
| +#define ImageAnimationPolicy_h
|
| +
|
| +namespace blink {
|
| +
|
| +// ImageAnimationPolicy is used for controlling image animation
|
| +// when image frame is rendered for animation
|
| +
|
| +enum ImageAnimationPolicy {
|
| + // Animate the image (the default).
|
| + ImageAnimationPolicyAllowed,
|
| + // Animate image just once.
|
| + ImageAnimationPolicyAnimateOnce,
|
| + // Show the first frame and do not animate.
|
| + ImageAnimationPolicyNoAnimation
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // ImageAnimationPolicy_h
|
|
|