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

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

Issue 2289183005: [WeakMemoryCache] Cleanup Field-Trial code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase error fix Created 4 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
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable) 113 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable)
114 { 114 {
115 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable); 115 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable);
116 } 116 }
117 117
118 void WebRuntimeFeatures::enableCanvas2dDynamicRenderingModeSwitching(bool enable ) 118 void WebRuntimeFeatures::enableCanvas2dDynamicRenderingModeSwitching(bool enable )
119 { 119 {
120 RuntimeEnabledFeatures::setEnableCanvas2dDynamicRenderingModeSwitchingEnable d(enable); 120 RuntimeEnabledFeatures::setEnableCanvas2dDynamicRenderingModeSwitchingEnable d(enable);
121 } 121 }
122 122
123 void WebRuntimeFeatures::enableDoNotUnlockSharedBuffer(bool enable)
124 {
125 RuntimeEnabledFeatures::setDoNotUnlockSharedBufferEnabled(enable);
126 }
127
128 void WebRuntimeFeatures::enableDocumentWriteEvaluator(bool enable) 123 void WebRuntimeFeatures::enableDocumentWriteEvaluator(bool enable)
129 { 124 {
130 RuntimeEnabledFeatures::setDocumentWriteEvaluatorEnabled(enable); 125 RuntimeEnabledFeatures::setDocumentWriteEvaluatorEnabled(enable);
131 } 126 }
132 127
133 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable) 128 void WebRuntimeFeatures::enableExperimentalCanvasFeatures(bool enable)
134 { 129 {
135 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable); 130 RuntimeEnabledFeatures::setExperimentalCanvasFeaturesEnabled(enable);
136 } 131 }
137 132
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 void WebRuntimeFeatures::enablePushMessaging(bool enable) 308 void WebRuntimeFeatures::enablePushMessaging(bool enable)
314 { 309 {
315 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); 310 RuntimeEnabledFeatures::setPushMessagingEnabled(enable);
316 } 311 }
317 312
318 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) 313 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable)
319 { 314 {
320 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); 315 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable);
321 } 316 }
322 317
323 void WebRuntimeFeatures::enableWeakMemoryCache(bool enable)
324 {
325 RuntimeEnabledFeatures::setWeakMemoryCacheEnabled(enable);
326 }
327
328 void WebRuntimeFeatures::enableWebVR(bool enable) 318 void WebRuntimeFeatures::enableWebVR(bool enable)
329 { 319 {
330 RuntimeEnabledFeatures::setWebVREnabled(enable); 320 RuntimeEnabledFeatures::setWebVREnabled(enable);
331 } 321 }
332 322
333 void WebRuntimeFeatures::enableNewMediaPlaybackUi(bool enable) 323 void WebRuntimeFeatures::enableNewMediaPlaybackUi(bool enable)
334 { 324 {
335 RuntimeEnabledFeatures::setNewMediaPlaybackUiEnabled(enable); 325 RuntimeEnabledFeatures::setNewMediaPlaybackUiEnabled(enable);
336 } 326 }
337 327
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 { 374 {
385 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); 375 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable);
386 } 376 }
387 377
388 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab le) 378 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab le)
389 { 379 {
390 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en able); 380 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en able);
391 } 381 }
392 382
393 } // namespace blink 383 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698