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

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

Issue 562403002: Remove TargetedStyleRecalc runtime flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Don't use the runtime flag in tests Created 6 years, 3 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
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | public/web/WebRuntimeFeatures.h » ('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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable) 250 void WebRuntimeFeatures::enableOverlayFullscreenVideo(bool enable)
251 { 251 {
252 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable); 252 RuntimeEnabledFeatures::setOverlayFullscreenVideoEnabled(enable);
253 } 253 }
254 254
255 void WebRuntimeFeatures::enableSharedWorker(bool enable) 255 void WebRuntimeFeatures::enableSharedWorker(bool enable)
256 { 256 {
257 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); 257 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable);
258 } 258 }
259 259
260 void WebRuntimeFeatures::enableTargetedStyleRecalc(bool enable)
261 {
262 RuntimeEnabledFeatures::setTargetedStyleRecalcEnabled(enable);
263 }
264
265 void WebRuntimeFeatures::enablePreciseMemoryInfo(bool enable) 260 void WebRuntimeFeatures::enablePreciseMemoryInfo(bool enable)
266 { 261 {
267 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); 262 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable);
268 } 263 }
269 264
270 void WebRuntimeFeatures::enableLayerSquashing(bool enable) 265 void WebRuntimeFeatures::enableLayerSquashing(bool enable)
271 { 266 {
272 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); 267 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable);
273 } 268 }
274 269
275 void WebRuntimeFeatures::enableShowModalDialog(bool enable) 270 void WebRuntimeFeatures::enableShowModalDialog(bool enable)
276 { 271 {
277 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); 272 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable);
278 } 273 }
279 274
280 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) 275 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable)
281 { 276 {
282 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); 277 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable);
283 } 278 }
284 279
285 } // namespace blink 280 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698