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

Side by Side Diff: sky/engine/web/WebRuntimeFeatures.cpp

Issue 760183003: Enable/Unprefix Animations & Transitions, add basic tests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: patch for landing Created 6 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
« no previous file with comments | « sky/engine/web/WebDocument.cpp ('k') | sky/tests/animation/basic-declarative.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « sky/engine/web/WebDocument.cpp ('k') | sky/tests/animation/basic-declarative.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698