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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 case UseCounter::ScriptInvalidTypeOrLanguage: | 476 case UseCounter::ScriptInvalidTypeOrLanguage: |
477 return willBeRemoved( | 477 return willBeRemoved( |
478 "Fetching scripts with an invalid type/language attributes", M56, | 478 "Fetching scripts with an invalid type/language attributes", M56, |
479 "5760718284521472"); | 479 "5760718284521472"); |
480 | 480 |
481 // The PaymentAddress.careOf was deprecated and then will be removed in M56. | 481 // The PaymentAddress.careOf was deprecated and then will be removed in M56. |
482 // Please see: https://www.chromestatus.com/features/5728579069411328 | 482 // Please see: https://www.chromestatus.com/features/5728579069411328 |
483 case UseCounter::PaymentAddressCareOf: | 483 case UseCounter::PaymentAddressCareOf: |
484 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); | 484 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); |
485 | 485 |
| 486 case UseCounter::VRDeprecatedFieldOfView: |
| 487 return replacedBy("VREyeParameters.fieldOfView", |
| 488 "projection matrices provided by VRFrameData"); |
| 489 |
| 490 case UseCounter::VRDeprecatedGetPose: |
| 491 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
| 492 |
486 // Features that aren't deprecated don't have a deprecation message. | 493 // Features that aren't deprecated don't have a deprecation message. |
487 default: | 494 default: |
488 return String(); | 495 return String(); |
489 } | 496 } |
490 } | 497 } |
491 | 498 |
492 } // namespace blink | 499 } // namespace blink |
OLD | NEW |