| 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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 | 400 |
| 401 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: | 401 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: |
| 402 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", | 402 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", |
| 403 "'Performance.onresourcetimingbufferfull'"); | 403 "'Performance.onresourcetimingbufferfull'"); |
| 404 | 404 |
| 405 case UseCounter::WebAnimationHyphenatedProperty: | 405 case UseCounter::WebAnimationHyphenatedProperty: |
| 406 return "Hyphenated property names in Web Animations keyframes are " | 406 return "Hyphenated property names in Web Animations keyframes are " |
| 407 "invalid and therefore ignored. Please use camelCase instead."; | 407 "invalid and therefore ignored. Please use camelCase instead."; |
| 408 | 408 |
| 409 case UseCounter::HTMLKeygenElement: | 409 case UseCounter::HTMLKeygenElement: |
| 410 return willBeRemoved("The <keygen> element", M56, "5716060992962560"); | 410 return willBeRemoved("The <keygen> element", M57, "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::MIDIMessageEventReceivedTime: | 420 case UseCounter::MIDIMessageEventReceivedTime: |
| (...skipping 24 matching lines...) Expand all Loading... |
| 445 case UseCounter::VRDeprecatedGetPose: | 445 case UseCounter::VRDeprecatedGetPose: |
| 446 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 446 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
| 447 | 447 |
| 448 // Features that aren't deprecated don't have a deprecation message. | 448 // Features that aren't deprecated don't have a deprecation message. |
| 449 default: | 449 default: |
| 450 return String(); | 450 return String(); |
| 451 } | 451 } |
| 452 } | 452 } |
| 453 | 453 |
| 454 } // namespace blink | 454 } // namespace blink |
| OLD | NEW |