| 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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 | 442 |
| 443 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: | 443 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: |
| 444 return willBeRemoved("SVGViewElement.viewTarget", M56, | 444 return willBeRemoved("SVGViewElement.viewTarget", M56, |
| 445 "5665473114931200"); | 445 "5665473114931200"); |
| 446 | 446 |
| 447 case UseCounter::ScriptInvalidTypeOrLanguage: | 447 case UseCounter::ScriptInvalidTypeOrLanguage: |
| 448 return willBeRemoved( | 448 return willBeRemoved( |
| 449 "Fetching scripts with an invalid type/language attributes", M56, | 449 "Fetching scripts with an invalid type/language attributes", M56, |
| 450 "5760718284521472"); | 450 "5760718284521472"); |
| 451 | 451 |
| 452 // The PaymentAddress.careOf was deprecated and then will be removed in M56. | |
| 453 // Please see: https://www.chromestatus.com/features/5728579069411328 | |
| 454 case UseCounter::PaymentAddressCareOf: | |
| 455 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); | |
| 456 | |
| 457 case UseCounter::VRDeprecatedFieldOfView: | 452 case UseCounter::VRDeprecatedFieldOfView: |
| 458 return replacedBy("VREyeParameters.fieldOfView", | 453 return replacedBy("VREyeParameters.fieldOfView", |
| 459 "projection matrices provided by VRFrameData"); | 454 "projection matrices provided by VRFrameData"); |
| 460 | 455 |
| 461 case UseCounter::VRDeprecatedGetPose: | 456 case UseCounter::VRDeprecatedGetPose: |
| 462 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 457 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
| 463 | 458 |
| 464 // Features that aren't deprecated don't have a deprecation message. | 459 // Features that aren't deprecated don't have a deprecation message. |
| 465 default: | 460 default: |
| 466 return String(); | 461 return String(); |
| 467 } | 462 } |
| 468 } | 463 } |
| 469 | 464 |
| 470 } // namespace blink | 465 } // namespace blink |
| OLD | NEW |