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

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

Issue 2720073003: Wire up Finch experiment to MojoLoading flag (Closed)
Patch Set: Created 3 years, 9 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 } 155 }
156 156
157 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) { 157 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) {
158 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable); 158 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable);
159 } 159 }
160 160
161 void WebRuntimeFeatures::enableLazyParseCSS(bool enable) { 161 void WebRuntimeFeatures::enableLazyParseCSS(bool enable) {
162 RuntimeEnabledFeatures::setLazyParseCSSEnabled(enable); 162 RuntimeEnabledFeatures::setLazyParseCSSEnabled(enable);
163 } 163 }
164 164
165 void WebRuntimeFeatures::enableLoadingWithMojo(bool enable) {
166 RuntimeEnabledFeatures::setLoadingWithMojoEnabled(enable);
167 }
168
165 void WebRuntimeFeatures::enableMediaCapture(bool enable) { 169 void WebRuntimeFeatures::enableMediaCapture(bool enable) {
166 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); 170 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable);
167 } 171 }
168 172
169 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) { 173 void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) {
170 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable); 174 RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable);
171 } 175 }
172 176
173 void WebRuntimeFeatures::enableMediaSession(bool enable) { 177 void WebRuntimeFeatures::enableMediaSession(bool enable) {
174 RuntimeEnabledFeatures::setMediaSessionEnabled(enable); 178 RuntimeEnabledFeatures::setMediaSessionEnabled(enable);
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 386
383 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { 387 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) {
384 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); 388 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable);
385 } 389 }
386 390
387 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { 391 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) {
388 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); 392 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable);
389 } 393 }
390 394
391 } // namespace blink 395 } // namespace blink
OLDNEW
« no previous file with comments | « content/public/common/content_features.cc ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698