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

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

Issue 2666993006: Enable ParseHTMLOnMainThread on TOT (Closed)
Patch Set: clean up virtual test suites 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 211 }
212 212
213 void WebRuntimeFeatures::enablePagePopup(bool enable) { 213 void WebRuntimeFeatures::enablePagePopup(bool enable) {
214 RuntimeEnabledFeatures::setPagePopupEnabled(enable); 214 RuntimeEnabledFeatures::setPagePopupEnabled(enable);
215 } 215 }
216 216
217 void WebRuntimeFeatures::enableMiddleClickAutoscroll(bool enable) { 217 void WebRuntimeFeatures::enableMiddleClickAutoscroll(bool enable) {
218 RuntimeEnabledFeatures::setMiddleClickAutoscrollEnabled(enable); 218 RuntimeEnabledFeatures::setMiddleClickAutoscrollEnabled(enable);
219 } 219 }
220 220
221 void WebRuntimeFeatures::enableParseHTMLOnMainThread(bool enable) {
222 RuntimeEnabledFeatures::setParseHTMLOnMainThreadEnabled(enable);
223 }
224
225 void WebRuntimeFeatures::enablePassiveDocumentEventListeners(bool enable) { 221 void WebRuntimeFeatures::enablePassiveDocumentEventListeners(bool enable) {
226 RuntimeEnabledFeatures::setPassiveDocumentEventListenersEnabled(enable); 222 RuntimeEnabledFeatures::setPassiveDocumentEventListenersEnabled(enable);
227 } 223 }
228 224
229 void WebRuntimeFeatures::enablePaymentRequest(bool enable) { 225 void WebRuntimeFeatures::enablePaymentRequest(bool enable) {
230 RuntimeEnabledFeatures::setPaymentRequestEnabled(enable); 226 RuntimeEnabledFeatures::setPaymentRequestEnabled(enable);
231 } 227 }
232 228
233 void WebRuntimeFeatures::enablePermissionsAPI(bool enable) { 229 void WebRuntimeFeatures::enablePermissionsAPI(bool enable) {
234 RuntimeEnabledFeatures::setPermissionsEnabled(enable); 230 RuntimeEnabledFeatures::setPermissionsEnabled(enable);
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 370
375 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { 371 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) {
376 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); 372 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable);
377 } 373 }
378 374
379 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { 375 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) {
380 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); 376 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable);
381 } 377 }
382 378
383 } // namespace blink 379 } // 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