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

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

Issue 2481263004: Revert of 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 "'Performance.clearResourceTimings'"); 384 "'Performance.clearResourceTimings'");
385 385
386 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize: 386 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize:
387 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", 387 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'",
388 "'Performance.setResourceTimingBufferSize'"); 388 "'Performance.setResourceTimingBufferSize'");
389 389
390 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: 390 case UseCounter::PrefixedPerformanceResourceTimingBufferFull:
391 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", 391 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'",
392 "'Performance.onresourcetimingbufferfull'"); 392 "'Performance.onresourcetimingbufferfull'");
393 393
394 case UseCounter::MediaStreamTrackGetSources:
395 return willBeRemoved("MediaStreamTrack.getSources", M56,
396 "4765305641369600");
397
394 case UseCounter::WebAnimationHyphenatedProperty: 398 case UseCounter::WebAnimationHyphenatedProperty:
395 return "Hyphenated property names in Web Animations keyframes are " 399 return "Hyphenated property names in Web Animations keyframes are "
396 "invalid and therefore ignored. Please use camelCase instead."; 400 "invalid and therefore ignored. Please use camelCase instead.";
397 401
398 case UseCounter::HTMLKeygenElement: 402 case UseCounter::HTMLKeygenElement:
399 return willBeRemoved("The <keygen> element", M56, "5716060992962560"); 403 return willBeRemoved("The <keygen> element", M56, "5716060992962560");
400 404
401 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: 405 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs:
402 return String::format( 406 return String::format(
403 "EME requires that contentType strings accepted by " 407 "EME requires that contentType strings accepted by "
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 case UseCounter::VRDeprecatedGetPose: 456 case UseCounter::VRDeprecatedGetPose:
453 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 457 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
454 458
455 // Features that aren't deprecated don't have a deprecation message. 459 // Features that aren't deprecated don't have a deprecation message.
456 default: 460 default:
457 return String(); 461 return String();
458 } 462 }
459 } 463 }
460 464
461 } // namespace blink 465 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698