| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Use this file to assert that *_list.h enums that are meant to do the bridge | 5 // Use this file to assert that *_list.h enums that are meant to do the bridge |
| 6 // from Blink are valid. | 6 // from Blink are valid. |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "cc/animation/animation.h" | 9 #include "cc/animation/animation.h" |
| 10 #include "content/public/common/screen_orientation_values.h" | 10 #include "content/public/common/screen_orientation_values.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 COMPILE_ASSERT_MATCHING_ENUM(blink::WebMimeRegistry::MayBeSupported, | 46 COMPILE_ASSERT_MATCHING_ENUM(blink::WebMimeRegistry::MayBeSupported, |
| 47 net::MayBeSupported); | 47 net::MayBeSupported); |
| 48 | 48 |
| 49 // TargetProperty | 49 // TargetProperty |
| 50 COMPILE_ASSERT_MATCHING_ENUM(blink::WebAnimation::TargetPropertyTransform, | 50 COMPILE_ASSERT_MATCHING_ENUM(blink::WebAnimation::TargetPropertyTransform, |
| 51 cc::Animation::Transform); | 51 cc::Animation::Transform); |
| 52 COMPILE_ASSERT_MATCHING_ENUM(blink::WebAnimation::TargetPropertyOpacity, | 52 COMPILE_ASSERT_MATCHING_ENUM(blink::WebAnimation::TargetPropertyOpacity, |
| 53 cc::Animation::Opacity); | 53 cc::Animation::Opacity); |
| 54 COMPILE_ASSERT_MATCHING_ENUM(blink::WebAnimation::TargetPropertyFilter, | 54 COMPILE_ASSERT_MATCHING_ENUM(blink::WebAnimation::TargetPropertyFilter, |
| 55 cc::Animation::Filter); | 55 cc::Animation::Filter); |
| 56 #if WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED | |
| 57 COMPILE_ASSERT_MATCHING_ENUM(blink::WebAnimation::TargetPropertyScrollOffset, | 56 COMPILE_ASSERT_MATCHING_ENUM(blink::WebAnimation::TargetPropertyScrollOffset, |
| 58 cc::Animation::ScrollOffset); | 57 cc::Animation::ScrollOffset); |
| 59 #endif | |
| 60 | 58 |
| 61 } // namespace content | 59 } // namespace content |
| OLD | NEW |