OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef RuntimeEnabledFeaturesTestHelpers_h | 5 #ifndef RuntimeEnabledFeaturesTestHelpers_h |
6 #define RuntimeEnabledFeaturesTestHelpers_h | 6 #define RuntimeEnabledFeaturesTestHelpers_h |
7 | 7 |
8 #include "platform/RuntimeEnabledFeatures.h" | 8 #include "platform/RuntimeEnabledFeatures.h" |
9 #include "wtf/Assertions.h" | 9 #include "wtf/Assertions.h" |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 RuntimeEnabledFeatures::setRootLayerScrollingEnabled> | 45 RuntimeEnabledFeatures::setRootLayerScrollingEnabled> |
46 ScopedRootLayerScrollingForTest; | 46 ScopedRootLayerScrollingForTest; |
47 typedef ScopedRuntimeEnabledFeatureForTest< | 47 typedef ScopedRuntimeEnabledFeatureForTest< |
48 RuntimeEnabledFeatures::slimmingPaintV2Enabled, | 48 RuntimeEnabledFeatures::slimmingPaintV2Enabled, |
49 RuntimeEnabledFeatures::setSlimmingPaintV2Enabled> | 49 RuntimeEnabledFeatures::setSlimmingPaintV2Enabled> |
50 ScopedSlimmingPaintV2ForTest; | 50 ScopedSlimmingPaintV2ForTest; |
51 typedef ScopedRuntimeEnabledFeatureForTest< | 51 typedef ScopedRuntimeEnabledFeatureForTest< |
52 RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled, | 52 RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled, |
53 RuntimeEnabledFeatures::setSlimmingPaintInvalidationEnabled> | 53 RuntimeEnabledFeatures::setSlimmingPaintInvalidationEnabled> |
54 ScopedSlimmingPaintInvalidationForTest; | 54 ScopedSlimmingPaintInvalidationForTest; |
| 55 typedef ScopedRuntimeEnabledFeatureForTest< |
| 56 RuntimeEnabledFeatures::layoutNGEnabled, |
| 57 RuntimeEnabledFeatures::setLayoutNGEnabled> |
| 58 ScopedLayoutNGForTest; |
55 | 59 |
56 } // namespace blink | 60 } // namespace blink |
57 | 61 |
58 #endif // RuntimeEnabledFeaturesTestHelpers_h | 62 #endif // RuntimeEnabledFeaturesTestHelpers_h |
OLD | NEW |