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

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

Issue 2698573002: Support offscreen contexts which own their backing surface (Closed)
Patch Set: Rebase and retry again Created 3 years, 10 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 } 307 }
308 308
309 void WebRuntimeFeatures::enablePushMessaging(bool enable) { 309 void WebRuntimeFeatures::enablePushMessaging(bool enable) {
310 RuntimeEnabledFeatures::setPushMessagingEnabled(enable); 310 RuntimeEnabledFeatures::setPushMessagingEnabled(enable);
311 } 311 }
312 312
313 void WebRuntimeFeatures::enableWebVR(bool enable) { 313 void WebRuntimeFeatures::enableWebVR(bool enable) {
314 RuntimeEnabledFeatures::setWebVREnabled(enable); 314 RuntimeEnabledFeatures::setWebVREnabled(enable);
315 } 315 }
316 316
317 void WebRuntimeFeatures::enableWebVRExperimentalRendering(bool enable) {
318 RuntimeEnabledFeatures::setWebVRExperimentalRenderingEnabled(enable);
319 }
320
317 void WebRuntimeFeatures::enablePresentationAPI(bool enable) { 321 void WebRuntimeFeatures::enablePresentationAPI(bool enable) {
318 RuntimeEnabledFeatures::setPresentationEnabled(enable); 322 RuntimeEnabledFeatures::setPresentationEnabled(enable);
319 } 323 }
320 324
321 void WebRuntimeFeatures::enableWebFontsInterventionV2With2G(bool enable) { 325 void WebRuntimeFeatures::enableWebFontsInterventionV2With2G(bool enable) {
322 RuntimeEnabledFeatures::setWebFontsInterventionV2With2GEnabled(enable); 326 RuntimeEnabledFeatures::setWebFontsInterventionV2With2GEnabled(enable);
323 } 327 }
324 328
325 void WebRuntimeFeatures::enableWebFontsInterventionV2With3G(bool enable) { 329 void WebRuntimeFeatures::enableWebFontsInterventionV2With3G(bool enable) {
326 RuntimeEnabledFeatures::setWebFontsInterventionV2With3GEnabled(enable); 330 RuntimeEnabledFeatures::setWebFontsInterventionV2With3GEnabled(enable);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 382
379 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { 383 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) {
380 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); 384 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable);
381 } 385 }
382 386
383 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { 387 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) {
384 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); 388 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable);
385 } 389 }
386 390
387 } // namespace blink 391 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 ('k') | third_party/WebKit/public/platform/Platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698