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

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

Issue 2525973002: Remove the pointer event capturing flag (Closed)
Patch Set: 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 } 207 }
208 208
209 void WebRuntimeFeatures::enablePermissionsAPI(bool enable) { 209 void WebRuntimeFeatures::enablePermissionsAPI(bool enable) {
210 RuntimeEnabledFeatures::setPermissionsEnabled(enable); 210 RuntimeEnabledFeatures::setPermissionsEnabled(enable);
211 } 211 }
212 212
213 void WebRuntimeFeatures::enablePointerEvent(bool enable) { 213 void WebRuntimeFeatures::enablePointerEvent(bool enable) {
214 RuntimeEnabledFeatures::setPointerEventEnabled(enable); 214 RuntimeEnabledFeatures::setPointerEventEnabled(enable);
215 } 215 }
216 216
217 void WebRuntimeFeatures::enablePointerEventV1SpecCapturing(bool enable) {
218 RuntimeEnabledFeatures::setPointerEventV1SpecCapturingEnabled(enable);
219 }
220
221 void WebRuntimeFeatures::enableScriptedSpeech(bool enable) { 217 void WebRuntimeFeatures::enableScriptedSpeech(bool enable) {
222 RuntimeEnabledFeatures::setScriptedSpeechEnabled(enable); 218 RuntimeEnabledFeatures::setScriptedSpeechEnabled(enable);
223 } 219 }
224 220
225 void WebRuntimeFeatures::enableSlimmingPaintV2(bool enable) { 221 void WebRuntimeFeatures::enableSlimmingPaintV2(bool enable) {
226 RuntimeEnabledFeatures::setSlimmingPaintV2Enabled(enable); 222 RuntimeEnabledFeatures::setSlimmingPaintV2Enabled(enable);
227 } 223 }
228 224
229 void WebRuntimeFeatures::enableSpeculativeLaunchServiceWorker(bool enable) { 225 void WebRuntimeFeatures::enableSpeculativeLaunchServiceWorker(bool enable) {
230 RuntimeEnabledFeatures::setSpeculativeLaunchServiceWorkerEnabled(enable); 226 RuntimeEnabledFeatures::setSpeculativeLaunchServiceWorkerEnabled(enable);
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable); 340 RuntimeEnabledFeatures::setTimerThrottlingForHiddenFramesEnabled(enable);
345 } 341 }
346 342
347 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType( 343 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(
348 bool enable) { 344 bool enable) {
349 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled( 345 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(
350 enable); 346 enable);
351 } 347 }
352 348
353 } // namespace blink 349 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698