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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_IMAGE_ANIMATION_POLICY_H_ 6 #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_IMAGE_ANIMATION_POLICY_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 kImageAnimationPolicyAllowed, 16 // Animate image just once. 17 kImageAnimationPolicyAnimateOnce, 18 // Show the first frame and do not animate. 19 kImageAnimationPolicyNoAnimation 20 }; 21 22 } // namespace blink 23 24 #endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_IMAGE_ANIMATION_POLICY_H_ 25