OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "content/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <limits> | 8 #include <limits> |
9 #include <map> | 9 #include <map> |
10 #include <vector> | 10 #include <vector> |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 !command_line.HasSwitch(switches::kDisableJavaScriptI18NAPI)); | 774 !command_line.HasSwitch(switches::kDisableJavaScriptI18NAPI)); |
775 | 775 |
776 WebRuntimeFeatures::enableQuota(true); | 776 WebRuntimeFeatures::enableQuota(true); |
777 | 777 |
778 if (command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures)) { | 778 if (command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures)) { |
779 WebRuntimeFeatures::enableStyleScoped(true); | 779 WebRuntimeFeatures::enableStyleScoped(true); |
780 WebRuntimeFeatures::enableCustomDOMElements(true); | 780 WebRuntimeFeatures::enableCustomDOMElements(true); |
781 WebRuntimeFeatures::enableCSSExclusions(true); | 781 WebRuntimeFeatures::enableCSSExclusions(true); |
782 WebRuntimeFeatures::enableExperimentalContentSecurityPolicyFeatures(true); | 782 WebRuntimeFeatures::enableExperimentalContentSecurityPolicyFeatures(true); |
783 WebRuntimeFeatures::enableCSSRegions(true); | 783 WebRuntimeFeatures::enableCSSRegions(true); |
| 784 WebRuntimeFeatures::enableCSSCompositing(true); |
784 WebRuntimeFeatures::enableDialogElement(true); | 785 WebRuntimeFeatures::enableDialogElement(true); |
785 WebRuntimeFeatures::enableFontLoadEvents(true); | 786 WebRuntimeFeatures::enableFontLoadEvents(true); |
786 } | 787 } |
787 | 788 |
788 WebRuntimeFeatures::enableSeamlessIFrames( | 789 WebRuntimeFeatures::enableSeamlessIFrames( |
789 command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures)); | 790 command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures)); |
790 | 791 |
791 // Enabled by default for testing. | 792 // Enabled by default for testing. |
792 // TODO(urvang): Go back to using the command-line option after a few days. | 793 // TODO(urvang): Go back to using the command-line option after a few days. |
793 WebRuntimeFeatures::enableWebPInAcceptHeader(true); | 794 WebRuntimeFeatures::enableWebPInAcceptHeader(true); |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1316 | 1317 |
1317 void RenderThreadImpl::SetFlingCurveParameters( | 1318 void RenderThreadImpl::SetFlingCurveParameters( |
1318 const std::vector<float>& new_touchpad, | 1319 const std::vector<float>& new_touchpad, |
1319 const std::vector<float>& new_touchscreen) { | 1320 const std::vector<float>& new_touchscreen) { |
1320 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, | 1321 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, |
1321 new_touchscreen); | 1322 new_touchscreen); |
1322 | 1323 |
1323 } | 1324 } |
1324 | 1325 |
1325 } // namespace content | 1326 } // namespace content |
OLD | NEW |