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

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 12681024: Enable CSS Blending support under the webkit experimental features chromium flag. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Rebase, add correct email to the authors list Created 7 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698