| 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::V8SVGViewElement_ViewTarget_AttributeGetter: | |
| 421 return willBeRemoved("SVGViewElement.viewTarget", M56, | |
| 422 "5665473114931200"); | |
| 423 | |
| 424 case UseCounter::VRDeprecatedFieldOfView: | 420 case UseCounter::VRDeprecatedFieldOfView: |
| 425 return replacedBy("VREyeParameters.fieldOfView", | 421 return replacedBy("VREyeParameters.fieldOfView", |
| 426 "projection matrices provided by VRFrameData"); | 422 "projection matrices provided by VRFrameData"); |
| 427 | 423 |
| 428 case UseCounter::VRDeprecatedGetPose: | 424 case UseCounter::VRDeprecatedGetPose: |
| 429 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 425 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
| 430 | 426 |
| 431 // Features that aren't deprecated don't have a deprecation message. | 427 // Features that aren't deprecated don't have a deprecation message. |
| 432 default: | 428 default: |
| 433 return String(); | 429 return String(); |
| 434 } | 430 } |
| 435 } | 431 } |
| 436 | 432 |
| 437 } // namespace blink | 433 } // namespace blink |
| OLD | NEW |