Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(755)

Side by Side Diff: content/child/assert_matching_enums.cc

Issue 383503003: Remove #ifs related to WebScrollOffsetAnimationCurve (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/renderer/compositor_bindings/web_animation_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | content/renderer/compositor_bindings/web_animation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698