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

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

Issue 2489823002: Revert "Remove MediaStreamTrack.getSources()." (Closed)
Patch Set: rebase 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
405 case UseCounter::WebAnimationHyphenatedProperty: 409 case UseCounter::WebAnimationHyphenatedProperty:
406 return "Hyphenated property names in Web Animations keyframes are " 410 return "Hyphenated property names in Web Animations keyframes are "
407 "invalid and therefore ignored. Please use camelCase instead."; 411 "invalid and therefore ignored. Please use camelCase instead.";
408 412
409 case UseCounter::HTMLKeygenElement: 413 case UseCounter::HTMLKeygenElement:
410 return willBeRemoved("The <keygen> element", M56, "5716060992962560"); 414 return willBeRemoved("The <keygen> element", M56, "5716060992962560");
411 415
412 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: 416 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs:
413 return String::format( 417 return String::format(
414 "EME requires that contentType strings accepted by " 418 "EME requires that contentType strings accepted by "
(...skipping 30 matching lines...) Expand all
445 case UseCounter::VRDeprecatedGetPose: 449 case UseCounter::VRDeprecatedGetPose:
446 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 450 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
447 451
448 // Features that aren't deprecated don't have a deprecation message. 452 // Features that aren't deprecated don't have a deprecation message.
449 default: 453 default:
450 return String(); 454 return String();
451 } 455 }
452 } 456 }
453 457
454 } // namespace blink 458 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698