OLD | NEW |
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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 return willBeRemoved("The <keygen> element", M56, "5716060992962560"); | 410 return willBeRemoved("The <keygen> element", M56, "5716060992962560"); |
411 | 411 |
412 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: | 412 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: |
413 return String::format( | 413 return String::format( |
414 "EME requires that contentType strings accepted by " | 414 "EME requires that contentType strings accepted by " |
415 "requestMediaKeySystemAccess() include codecs. Non-standard support " | 415 "requestMediaKeySystemAccess() include codecs. Non-standard support " |
416 "for contentType strings without codecs will be removed in %s. " | 416 "for contentType strings without codecs will be removed in %s. " |
417 "Please specify the desired codec(s) as part of the contentType.", | 417 "Please specify the desired codec(s) as part of the contentType.", |
418 milestoneString(M56)); | 418 milestoneString(M56)); |
419 | 419 |
420 case UseCounter::V8SVGSVGElement_UseCurrentView_AttributeGetter: | |
421 return willBeRemoved("SVGSVGElement.useCurrentView", M56, | |
422 "4511711998509056"); | |
423 | |
424 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter: | |
425 return willBeRemoved("SVGSVGElement.currentView", M56, | |
426 "4511711998509056"); | |
427 | |
428 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: | 420 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: |
429 return willBeRemoved("SVGViewElement.viewTarget", M56, | 421 return willBeRemoved("SVGViewElement.viewTarget", M56, |
430 "5665473114931200"); | 422 "5665473114931200"); |
431 | 423 |
432 case UseCounter::VRDeprecatedFieldOfView: | 424 case UseCounter::VRDeprecatedFieldOfView: |
433 return replacedBy("VREyeParameters.fieldOfView", | 425 return replacedBy("VREyeParameters.fieldOfView", |
434 "projection matrices provided by VRFrameData"); | 426 "projection matrices provided by VRFrameData"); |
435 | 427 |
436 case UseCounter::VRDeprecatedGetPose: | 428 case UseCounter::VRDeprecatedGetPose: |
437 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 429 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
438 | 430 |
439 // Features that aren't deprecated don't have a deprecation message. | 431 // Features that aren't deprecated don't have a deprecation message. |
440 default: | 432 default: |
441 return String(); | 433 return String(); |
442 } | 434 } |
443 } | 435 } |
444 | 436 |
445 } // namespace blink | 437 } // namespace blink |
OLD | NEW |