| 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 "Please specify the desired codec(s) as part of the contentType.", | 437 "Please specify the desired codec(s) as part of the contentType.", |
| 438 milestoneString(M56)); | 438 milestoneString(M56)); |
| 439 | 439 |
| 440 case UseCounter::VRDeprecatedFieldOfView: | 440 case UseCounter::VRDeprecatedFieldOfView: |
| 441 return replacedBy("VREyeParameters.fieldOfView", | 441 return replacedBy("VREyeParameters.fieldOfView", |
| 442 "projection matrices provided by VRFrameData"); | 442 "projection matrices provided by VRFrameData"); |
| 443 | 443 |
| 444 case UseCounter::VRDeprecatedGetPose: | 444 case UseCounter::VRDeprecatedGetPose: |
| 445 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 445 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
| 446 | 446 |
| 447 case UseCounter::HTMLEmbedElementLegacyCall: |
| 448 return willBeRemoved("HTMLEmbedElement legacy caller", M58, |
| 449 "5715026367217664"); |
| 450 |
| 451 case UseCounter::HTMLObjectElementLegacyCall: |
| 452 return willBeRemoved("HTMLObjectElement legacy caller", M58, |
| 453 "5715026367217664"); |
| 454 |
| 447 // Features that aren't deprecated don't have a deprecation message. | 455 // Features that aren't deprecated don't have a deprecation message. |
| 448 default: | 456 default: |
| 449 return String(); | 457 return String(); |
| 450 } | 458 } |
| 451 } | 459 } |
| 452 | 460 |
| 453 } // namespace blink | 461 } // namespace blink |
| OLD | NEW |