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

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

Issue 2451943002: Remove runtime flag 'UnsafeES3APIs' from blink webgl (Closed)
Patch Set: Addressed kbr@'s feedback, and rebased the code Created 4 years, 1 month 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 void WebRuntimeFeatures::enableReloadwithoutSubResourceCacheRevalidation( 277 void WebRuntimeFeatures::enableReloadwithoutSubResourceCacheRevalidation(
278 bool enable) { 278 bool enable) {
279 RuntimeEnabledFeatures::setReloadwithoutSubResourceCacheRevalidationEnabled( 279 RuntimeEnabledFeatures::setReloadwithoutSubResourceCacheRevalidationEnabled(
280 enable); 280 enable);
281 } 281 }
282 282
283 void WebRuntimeFeatures::enablePushMessaging(bool enable) { 283 void WebRuntimeFeatures::enablePushMessaging(bool enable) {
284 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); 284 RuntimeEnabledFeatures::setPushMessagingEnabled(enable);
285 } 285 }
286 286
287 void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable) {
288 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable);
289 }
290
291 void WebRuntimeFeatures::enableWebVR(bool enable) { 287 void WebRuntimeFeatures::enableWebVR(bool enable) {
292 RuntimeEnabledFeatures::setWebVREnabled(enable); 288 RuntimeEnabledFeatures::setWebVREnabled(enable);
293 } 289 }
294 290
295 void WebRuntimeFeatures::enablePresentationAPI(bool enable) { 291 void WebRuntimeFeatures::enablePresentationAPI(bool enable) {
296 RuntimeEnabledFeatures::setPresentationEnabled(enable); 292 RuntimeEnabledFeatures::setPresentationEnabled(enable);
297 } 293 }
298 294
299 void WebRuntimeFeatures::enableWebFontsInterventionV2With2G(bool enable) { 295 void WebRuntimeFeatures::enableWebFontsInterventionV2With2G(bool enable) {
300 RuntimeEnabledFeatures::setWebFontsInterventionV2With2GEnabled(enable); 296 RuntimeEnabledFeatures::setWebFontsInterventionV2With2GEnabled(enable);
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); 340 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable);
345 } 341 }
346 342
347 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType( 343 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(
348 bool enable) { 344 bool enable) {
349 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled( 345 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(
350 enable); 346 enable);
351 } 347 }
352 348
353 } // namespace blink 349 } // 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