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

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

Issue 1915113005: [WeakMemoryCache] Field-Trial: Make Reference from MemoryCache to Resource weak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@MemoryCache_1b0
Patch Set: Rebase. Created 4 years, 6 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void WebRuntimeFeatures::forceDisable2dCanvasCopyOnWrite(bool enable) 103 void WebRuntimeFeatures::forceDisable2dCanvasCopyOnWrite(bool enable)
104 { 104 {
105 RuntimeEnabledFeatures::setForceDisable2dCanvasCopyOnWriteEnabled(enable); 105 RuntimeEnabledFeatures::setForceDisable2dCanvasCopyOnWriteEnabled(enable);
106 } 106 }
107 107
108 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable) 108 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable)
109 { 109 {
110 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable); 110 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable);
111 } 111 }
112 112
113 void WebRuntimeFeatures::enableDoNotUnlockSharedBuffer(bool enable)
114 {
115 RuntimeEnabledFeatures::setDoNotUnlockSharedBufferEnabled(enable);
116 }
117
113 void WebRuntimeFeatures::enableDocumentWriteEvaluator(bool enable) 118 void WebRuntimeFeatures::enableDocumentWriteEvaluator(bool enable)
114 { 119 {
115 RuntimeEnabledFeatures::setDocumentWriteEvaluatorEnabled(enable); 120 RuntimeEnabledFeatures::setDocumentWriteEvaluatorEnabled(enable);
116 } 121 }
117 122
118 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable) 123 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable)
119 { 124 {
120 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); 125 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable);
121 } 126 }
122 127
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 void WebRuntimeFeatures::enablePushMessaging(bool enable) 268 void WebRuntimeFeatures::enablePushMessaging(bool enable)
264 { 269 {
265 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); 270 RuntimeEnabledFeatures::setPushMessagingEnabled(enable);
266 } 271 }
267 272
268 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) 273 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable)
269 { 274 {
270 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); 275 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable);
271 } 276 }
272 277
278 void WebRuntimeFeatures::enableWeakMemoryCache(bool enable)
279 {
280 RuntimeEnabledFeatures::setWeakMemoryCacheEnabled(enable);
281 }
282
273 void WebRuntimeFeatures::enableWebVR(bool enable) 283 void WebRuntimeFeatures::enableWebVR(bool enable)
274 { 284 {
275 RuntimeEnabledFeatures::setWebVREnabled(enable); 285 RuntimeEnabledFeatures::setWebVREnabled(enable);
276 } 286 }
277 287
278 void WebRuntimeFeatures::enableNewMediaPlaybackUi(bool enable) 288 void WebRuntimeFeatures::enableNewMediaPlaybackUi(bool enable)
279 { 289 {
280 RuntimeEnabledFeatures::setNewMediaPlaybackUiEnabled(enable); 290 RuntimeEnabledFeatures::setNewMediaPlaybackUiEnabled(enable);
281 } 291 }
282 292
(...skipping 21 matching lines...) Expand all
304 { 314 {
305 RuntimeEnabledFeatures::setRenderingPipelineThrottlingEnabled(enable); 315 RuntimeEnabledFeatures::setRenderingPipelineThrottlingEnabled(enable);
306 } 316 }
307 317
308 void WebRuntimeFeatures::enableScrollAnchoring(bool enable) 318 void WebRuntimeFeatures::enableScrollAnchoring(bool enable)
309 { 319 {
310 RuntimeEnabledFeatures::setScrollAnchoringEnabled(enable); 320 RuntimeEnabledFeatures::setScrollAnchoringEnabled(enable);
311 } 321 }
312 322
313 } // namespace blink 323 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698