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

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

Issue 2547373002: Rename TouchEventAPI to TouchEventFeatureDetection (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into rename 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 } 235 }
236 236
237 void WebRuntimeFeatures::enableSlimmingPaintInvalidation(bool enable) { 237 void WebRuntimeFeatures::enableSlimmingPaintInvalidation(bool enable) {
238 RuntimeEnabledFeatures::setSlimmingPaintInvalidationEnabled(enable); 238 RuntimeEnabledFeatures::setSlimmingPaintInvalidationEnabled(enable);
239 } 239 }
240 240
241 void WebRuntimeFeatures::enableSpeculativeLaunchServiceWorker(bool enable) { 241 void WebRuntimeFeatures::enableSpeculativeLaunchServiceWorker(bool enable) {
242 RuntimeEnabledFeatures::setSpeculativeLaunchServiceWorkerEnabled(enable); 242 RuntimeEnabledFeatures::setSpeculativeLaunchServiceWorkerEnabled(enable);
243 } 243 }
244 244
245 void WebRuntimeFeatures::enableTouchEventAPI(bool enable) { 245 void WebRuntimeFeatures::enableTouchEventFeatureDetection(bool enable) {
246 RuntimeEnabledFeatures::setTouchEventAPIEnabled(enable); 246 RuntimeEnabledFeatures::setTouchEventFeatureDetectionEnabled(enable);
247 } 247 }
248 248
249 void WebRuntimeFeatures::enableWebGLDraftExtensions(bool enable) { 249 void WebRuntimeFeatures::enableWebGLDraftExtensions(bool enable) {
250 RuntimeEnabledFeatures::setWebGLDraftExtensionsEnabled(enable); 250 RuntimeEnabledFeatures::setWebGLDraftExtensionsEnabled(enable);
251 } 251 }
252 252
253 void WebRuntimeFeatures::enableWebGLImageChromium(bool enable) { 253 void WebRuntimeFeatures::enableWebGLImageChromium(bool enable) {
254 RuntimeEnabledFeatures::setWebGLImageChromiumEnabled(enable); 254 RuntimeEnabledFeatures::setWebGLImageChromiumEnabled(enable);
255 } 255 }
256 256
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 362
363 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) { 363 void WebRuntimeFeatures::enableRemotePlaybackAPI(bool enable) {
364 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable); 364 RuntimeEnabledFeatures::setRemotePlaybackEnabled(enable);
365 } 365 }
366 366
367 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) { 367 void WebRuntimeFeatures::enableVideoFullscreenOrientationLock(bool enable) {
368 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable); 368 RuntimeEnabledFeatures::setVideoFullscreenOrientationLockEnabled(enable);
369 } 369 }
370 370
371 } // namespace blink 371 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/DevToolsEmulator.cpp ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698