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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp

Issue 2921923002: Remove chrome://flag enable-pointer-events (Closed)
Patch Set: Rebase Created 3 years, 6 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 } 225 }
226 226
227 void WebRuntimeFeatures::EnablePaymentRequest(bool enable) { 227 void WebRuntimeFeatures::EnablePaymentRequest(bool enable) {
228 RuntimeEnabledFeatures::SetPaymentRequestEnabled(enable); 228 RuntimeEnabledFeatures::SetPaymentRequestEnabled(enable);
229 } 229 }
230 230
231 void WebRuntimeFeatures::EnablePermissionsAPI(bool enable) { 231 void WebRuntimeFeatures::EnablePermissionsAPI(bool enable) {
232 RuntimeEnabledFeatures::SetPermissionsEnabled(enable); 232 RuntimeEnabledFeatures::SetPermissionsEnabled(enable);
233 } 233 }
234 234
235 void WebRuntimeFeatures::EnablePointerEvent(bool enable) {
236 RuntimeEnabledFeatures::SetPointerEventEnabled(enable);
237 }
238
239 void WebRuntimeFeatures::EnableScriptedSpeech(bool enable) { 235 void WebRuntimeFeatures::EnableScriptedSpeech(bool enable) {
240 RuntimeEnabledFeatures::SetScriptedSpeechEnabled(enable); 236 RuntimeEnabledFeatures::SetScriptedSpeechEnabled(enable);
241 } 237 }
242 238
243 void WebRuntimeFeatures::EnableSlimmingPaintV2(bool enable) { 239 void WebRuntimeFeatures::EnableSlimmingPaintV2(bool enable) {
244 RuntimeEnabledFeatures::SetSlimmingPaintV2Enabled(enable); 240 RuntimeEnabledFeatures::SetSlimmingPaintV2Enabled(enable);
245 } 241 }
246 242
247 void WebRuntimeFeatures::EnableSlimmingPaintInvalidation(bool enable) { 243 void WebRuntimeFeatures::EnableSlimmingPaintInvalidation(bool enable) {
248 RuntimeEnabledFeatures::SetSlimmingPaintInvalidationEnabled(enable); 244 RuntimeEnabledFeatures::SetSlimmingPaintInvalidationEnabled(enable);
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 400
405 void WebRuntimeFeatures::EnableRemotePlaybackBackend(bool enable) { 401 void WebRuntimeFeatures::EnableRemotePlaybackBackend(bool enable) {
406 RuntimeEnabledFeatures::SetRemotePlaybackBackendEnabled(enable); 402 RuntimeEnabledFeatures::SetRemotePlaybackBackendEnabled(enable);
407 } 403 }
408 404
409 void WebRuntimeFeatures::EnableMediaCastOverlayButton(bool enable) { 405 void WebRuntimeFeatures::EnableMediaCastOverlayButton(bool enable) {
410 RuntimeEnabledFeatures::SetMediaCastOverlayButtonEnabled(enable); 406 RuntimeEnabledFeatures::SetMediaCastOverlayButtonEnabled(enable);
411 } 407 }
412 408
413 } // namespace blink 409 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698