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

Side by Side Diff: third_party/WebKit/Source/platform/testing/RuntimeEnabledFeaturesTestHelpers.h

Issue 2560233003: Make NGBlockLayoutAlgorithmTest inherit RenderingTest (Closed)
Patch Set: added an example how to test LayoutNG specific but still use RenderingTest Created 4 years 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
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698