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

Side by Side Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2624693002: Add HeapCompaction FeatureList flag (Closed)
Patch Set: Created 3 years, 11 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
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 } 143 }
144 144
145 void WebRuntimeFeatures::enableGamepadExtensions(bool enable) { 145 void WebRuntimeFeatures::enableGamepadExtensions(bool enable) {
146 RuntimeEnabledFeatures::setGamepadExtensionsEnabled(enable); 146 RuntimeEnabledFeatures::setGamepadExtensionsEnabled(enable);
147 } 147 }
148 148
149 void WebRuntimeFeatures::enableGenericSensor(bool enable) { 149 void WebRuntimeFeatures::enableGenericSensor(bool enable) {
150 RuntimeEnabledFeatures::setSensorEnabled(enable); 150 RuntimeEnabledFeatures::setSensorEnabled(enable);
151 } 151 }
152 152
153 void WebRuntimeFeatures::enableHeapCompaction(bool enable) {
154 RuntimeEnabledFeatures::setHeapCompactionEnabled(enable);
155 }
156
153 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) { 157 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) {
154 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable); 158 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable);
155 } 159 }
156 160
157 void WebRuntimeFeatures::enableLazyParseCSS(bool enable) { 161 void WebRuntimeFeatures::enableLazyParseCSS(bool enable) {
158 RuntimeEnabledFeatures::setLazyParseCSSEnabled(enable); 162 RuntimeEnabledFeatures::setLazyParseCSSEnabled(enable);
159 } 163 }
160 164
161 void WebRuntimeFeatures::enableMediaCapture(bool enable) { 165 void WebRuntimeFeatures::enableMediaCapture(bool enable) {
162 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); 166 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable);
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 370
367 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { 371 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) {
368 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); 372 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable);
369 } 373 }
370 374
371 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { 375 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) {
372 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); 376 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable);
373 } 377 }
374 378
375 } // namespace blink 379 } // namespace blink
OLDNEW
« no previous file with comments | « content/public/common/content_features.cc ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698