property_change_reason.h 541 B

12345678910111213141516171819
  1. // Copyright 2017 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. #ifndef UI_COMPOSITOR_PROPERTY_CHANGE_REASON_H_
  5. #define UI_COMPOSITOR_PROPERTY_CHANGE_REASON_H_
  6. namespace ui {
  7. enum class PropertyChangeReason {
  8. // The property value was set by an animation.
  9. FROM_ANIMATION,
  10. // The property value was set directly, without an animation.
  11. NOT_FROM_ANIMATION,
  12. };
  13. } // namespace ui
  14. #endif // UI_COMPOSITOR_PROPERTY_CHANGE_REASON_H_