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

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

Issue 2559283002: Remove PassiveEventListenersDueToFling from WebRuntimeFeatures (Closed)
Patch Set: remove flag Created 4 years 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 } 203 }
204 204
205 void WebRuntimeFeatures::enableParseHTMLOnMainThread(bool enable) { 205 void WebRuntimeFeatures::enableParseHTMLOnMainThread(bool enable) {
206 RuntimeEnabledFeatures::setParseHTMLOnMainThreadEnabled(enable); 206 RuntimeEnabledFeatures::setParseHTMLOnMainThreadEnabled(enable);
207 } 207 }
208 208
209 void WebRuntimeFeatures::enablePassiveDocumentEventListeners(bool enable) { 209 void WebRuntimeFeatures::enablePassiveDocumentEventListeners(bool enable) {
210 RuntimeEnabledFeatures::setPassiveDocumentEventListenersEnabled(enable); 210 RuntimeEnabledFeatures::setPassiveDocumentEventListenersEnabled(enable);
211 } 211 }
212 212
213 void WebRuntimeFeatures::enablePassiveEventListenersDueToFling(bool enable) {
214 RuntimeEnabledFeatures::setPassiveEventListenersDueToFlingEnabled(enable);
215 }
216
217 void WebRuntimeFeatures::enablePaymentRequest(bool enable) { 213 void WebRuntimeFeatures::enablePaymentRequest(bool enable) {
218 RuntimeEnabledFeatures::setPaymentRequestEnabled(enable); 214 RuntimeEnabledFeatures::setPaymentRequestEnabled(enable);
219 } 215 }
220 216
221 void WebRuntimeFeatures::enablePermissionsAPI(bool enable) { 217 void WebRuntimeFeatures::enablePermissionsAPI(bool enable) {
222 RuntimeEnabledFeatures::setPermissionsEnabled(enable); 218 RuntimeEnabledFeatures::setPermissionsEnabled(enable);
223 } 219 }
224 220
225 void WebRuntimeFeatures::enablePointerEvent(bool enable) { 221 void WebRuntimeFeatures::enablePointerEvent(bool enable) {
226 RuntimeEnabledFeatures::setPointerEventEnabled(enable); 222 RuntimeEnabledFeatures::setPointerEventEnabled(enable);
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 358
363 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { 359 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) {
364 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); 360 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable);
365 } 361 }
366 362
367 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { 363 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) {
368 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); 364 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable);
369 } 365 }
370 366
371 } // namespace blink 367 } // 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