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

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

Issue 2804843005: Implement the infrastructure of creating WorkerFetchContext in worker global scope. (Closed)
Patch Set: s/WebScheduler.h/web_scheduler.h/ Created 3 years, 7 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 } 195 }
196 196
197 void WebRuntimeFeatures::EnableNavigatorContentUtils(bool enable) { 197 void WebRuntimeFeatures::EnableNavigatorContentUtils(bool enable) {
198 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); 198 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable);
199 } 199 }
200 200
201 void WebRuntimeFeatures::EnableNetworkInformation(bool enable) { 201 void WebRuntimeFeatures::EnableNetworkInformation(bool enable) {
202 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable); 202 RuntimeEnabledFeatures::setNetworkInformationEnabled(enable);
203 } 203 }
204 204
205 void WebRuntimeFeatures::EnableOffMainThreadFetch(bool enable) {
206 RuntimeEnabledFeatures::setOffMainThreadFetchEnabled(enable);
207 }
208
205 void WebRuntimeFeatures::EnableOnDeviceChange(bool enable) { 209 void WebRuntimeFeatures::EnableOnDeviceChange(bool enable) {
206 RuntimeEnabledFeatures::setOnDeviceChangeEnabled(enable); 210 RuntimeEnabledFeatures::setOnDeviceChangeEnabled(enable);
207 } 211 }
208 212
209 void WebRuntimeFeatures::EnableOrientationEvent(bool enable) { 213 void WebRuntimeFeatures::EnableOrientationEvent(bool enable) {
210 RuntimeEnabledFeatures::setOrientationEventEnabled(enable); 214 RuntimeEnabledFeatures::setOrientationEventEnabled(enable);
211 } 215 }
212 216
213 void WebRuntimeFeatures::EnableOriginTrials(bool enable) { 217 void WebRuntimeFeatures::EnableOriginTrials(bool enable) {
214 RuntimeEnabledFeatures::setOriginTrialsEnabled(enable); 218 RuntimeEnabledFeatures::setOriginTrialsEnabled(enable);
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 398
395 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) { 399 void WebRuntimeFeatures::EnableVideoFullscreenDetection(bool enable) {
396 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable); 400 RuntimeEnabledFeatures::setVideoFullscreenDetectionEnabled(enable);
397 } 401 }
398 402
399 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) { 403 void WebRuntimeFeatures::EnableMediaControlsOverlayPlayButton(bool enable) {
400 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable); 404 RuntimeEnabledFeatures::setMediaControlsOverlayPlayButtonEnabled(enable);
401 } 405 }
402 406
403 } // namespace blink 407 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698