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

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

Issue 2816403002: test all
Patch Set: fix sharedworker Created 3 years, 8 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 } 191 }
192 192
193 void WebRuntimeFeatures::EnableNavigatorContentUtils(bool enable) { 193 void WebRuntimeFeatures::EnableNavigatorContentUtils(bool enable) {
194 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); 194 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable);
195 } 195 }
196 196
197 void WebRuntimeFeatures::EnableNetworkInformation(bool enable) { 197 void WebRuntimeFeatures::EnableNetworkInformation(bool enable) {
198 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); 198 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable);
199 } 199 }
200 200
201 void WebRuntimeFeatures::EnableOffMainThreadFetch(bool enable) {
202 RuntimeEnabledFeatures::setOffMainThreadFetchEnabled(enable);
203 }
204
201 void WebRuntimeFeatures::EnableOnDeviceChange(bool enable) { 205 void WebRuntimeFeatures::EnableOnDeviceChange(bool enable) {
202 RuntimeEnabledFeatures::setOnDeviceChangeEnabled(enable); 206 RuntimeEnabledFeatures::setOnDeviceChangeEnabled(enable);
203 } 207 }
204 208
205 void WebRuntimeFeatures::EnableOrientationEvent(bool enable) { 209 void WebRuntimeFeatures::EnableOrientationEvent(bool enable) {
206 RuntimeEnabledFeatures::setOrientationEventEnabled(enable); 210 RuntimeEnabledFeatures::setOrientationEventEnabled(enable);
207 } 211 }
208 212
209 void WebRuntimeFeatures::EnableOriginTrials(bool enable) { 213 void WebRuntimeFeatures::EnableOriginTrials(bool enable) {
210 RuntimeEnabledFeatures::setOriginTrialsEnabled(enable); 214 RuntimeEnabledFeatures::setOriginTrialsEnabled(enable);
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 394
391 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { 395 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) {
392 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); 396 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable);
393 } 397 }
394 398
395 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { 399 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) {
396 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); 400 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable);
397 } 401 }
398 402
399 } // namespace blink 403 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698