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

Side by Side Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2493823002: Revert of Revert "Remove MediaStreamTrack.getSources()." (Closed)
Patch Set: Created 4 years, 1 month 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/frame/Deprecation.h" 5 #include "core/frame/Deprecation.h"
6 6
7 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
8 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
9 #include "core/frame/FrameConsole.h" 9 #include "core/frame/FrameConsole.h"
10 #include "core/frame/FrameHost.h" 10 #include "core/frame/FrameHost.h"
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 "'Performance.clearResourceTimings'"); 395 "'Performance.clearResourceTimings'");
396 396
397 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize: 397 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize:
398 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", 398 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'",
399 "'Performance.setResourceTimingBufferSize'"); 399 "'Performance.setResourceTimingBufferSize'");
400 400
401 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: 401 case UseCounter::PrefixedPerformanceResourceTimingBufferFull:
402 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", 402 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'",
403 "'Performance.onresourcetimingbufferfull'"); 403 "'Performance.onresourcetimingbufferfull'");
404 404
405 case UseCounter::MediaStreamTrackGetSources:
406 return willBeRemoved("MediaStreamTrack.getSources", M56,
407 "4765305641369600");
408
409 case UseCounter::WebAnimationHyphenatedProperty: 405 case UseCounter::WebAnimationHyphenatedProperty:
410 return "Hyphenated property names in Web Animations keyframes are " 406 return "Hyphenated property names in Web Animations keyframes are "
411 "invalid and therefore ignored. Please use camelCase instead."; 407 "invalid and therefore ignored. Please use camelCase instead.";
412 408
413 case UseCounter::HTMLKeygenElement: 409 case UseCounter::HTMLKeygenElement:
414 return willBeRemoved("The <keygen> element", M56, "5716060992962560"); 410 return willBeRemoved("The <keygen> element", M56, "5716060992962560");
415 411
416 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: 412 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs:
417 return String::format( 413 return String::format(
418 "EME requires that contentType strings accepted by " 414 "EME requires that contentType strings accepted by "
(...skipping 30 matching lines...) Expand all
449 case UseCounter::VRDeprecatedGetPose: 445 case UseCounter::VRDeprecatedGetPose:
450 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 446 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
451 447
452 // Features that aren't deprecated don't have a deprecation message. 448 // Features that aren't deprecated don't have a deprecation message.
453 default: 449 default:
454 return String(); 450 return String();
455 } 451 }
456 } 452 }
457 453
458 } // namespace blink 454 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698