OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 28 matching lines...) Expand all Loading... |
39 void WebRuntimeFeatures::enableExperimentalFeatures(bool enable) | 39 void WebRuntimeFeatures::enableExperimentalFeatures(bool enable) |
40 { | 40 { |
41 RuntimeEnabledFeatures::setExperimentalFeaturesEnabled(enable); | 41 RuntimeEnabledFeatures::setExperimentalFeaturesEnabled(enable); |
42 } | 42 } |
43 | 43 |
44 void WebRuntimeFeatures::enableBleedingEdgeFastPaths(bool enable) | 44 void WebRuntimeFeatures::enableBleedingEdgeFastPaths(bool enable) |
45 { | 45 { |
46 ASSERT(enable); | 46 ASSERT(enable); |
47 RuntimeEnabledFeatures::setBleedingEdgeFastPathsEnabled(enable); | 47 RuntimeEnabledFeatures::setBleedingEdgeFastPathsEnabled(enable); |
48 RuntimeEnabledFeatures::setSubpixelFontScalingEnabled(enable || RuntimeEnabl
edFeatures::subpixelFontScalingEnabled()); | 48 RuntimeEnabledFeatures::setSubpixelFontScalingEnabled(enable || RuntimeEnabl
edFeatures::subpixelFontScalingEnabled()); |
49 RuntimeEnabledFeatures::setWebAnimationsAPIEnabled(enable); | |
50 } | 49 } |
51 | 50 |
52 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) | 51 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) |
53 { | 52 { |
54 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); | 53 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); |
55 } | 54 } |
56 | 55 |
57 void WebRuntimeFeatures::enableDatabase(bool enable) | 56 void WebRuntimeFeatures::enableDatabase(bool enable) |
58 { | 57 { |
59 RuntimeEnabledFeatures::setDatabaseEnabled(enable); | 58 RuntimeEnabledFeatures::setDatabaseEnabled(enable); |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 { | 180 { |
182 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); | 181 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); |
183 } | 182 } |
184 | 183 |
185 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) | 184 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) |
186 { | 185 { |
187 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); | 186 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); |
188 } | 187 } |
189 | 188 |
190 } // namespace blink | 189 } // namespace blink |
OLD | NEW |