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 "'Performance.clearResourceTimings'"); | 410 "'Performance.clearResourceTimings'"); |
411 | 411 |
412 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize: | 412 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize: |
413 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", | 413 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", |
414 "'Performance.setResourceTimingBufferSize'"); | 414 "'Performance.setResourceTimingBufferSize'"); |
415 | 415 |
416 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: | 416 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: |
417 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", | 417 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", |
418 "'Performance.onresourcetimingbufferfull'"); | 418 "'Performance.onresourcetimingbufferfull'"); |
419 | 419 |
420 case UseCounter::WebAnimationHyphenatedProperty: | |
421 return "Hyphenated property names in Web Animations keyframes are " | |
422 "invalid and therefore ignored. Please use camelCase instead."; | |
423 | |
424 case UseCounter::HTMLKeygenElement: | 420 case UseCounter::HTMLKeygenElement: |
425 return willBeRemoved("The <keygen> element", M57, "5716060992962560"); | 421 return willBeRemoved("The <keygen> element", M57, "5716060992962560"); |
426 | 422 |
427 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: | 423 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: |
428 return String::format( | 424 return String::format( |
429 "EME requires that contentType strings accepted by " | 425 "EME requires that contentType strings accepted by " |
430 "requestMediaKeySystemAccess() include codecs. Non-standard support " | 426 "requestMediaKeySystemAccess() include codecs. Non-standard support " |
431 "for contentType strings without codecs will be removed in %s. " | 427 "for contentType strings without codecs will be removed in %s. " |
432 "Please specify the desired codec(s) as part of the contentType.", | 428 "Please specify the desired codec(s) as part of the contentType.", |
433 milestoneString(M56)); | 429 milestoneString(M56)); |
(...skipping 13 matching lines...) Expand all Loading... |
447 return willBeRemoved("HTMLObjectElement legacy caller", M58, | 443 return willBeRemoved("HTMLObjectElement legacy caller", M58, |
448 "5715026367217664"); | 444 "5715026367217664"); |
449 | 445 |
450 // Features that aren't deprecated don't have a deprecation message. | 446 // Features that aren't deprecated don't have a deprecation message. |
451 default: | 447 default: |
452 return String(); | 448 return String(); |
453 } | 449 } |
454 } | 450 } |
455 | 451 |
456 } // namespace blink | 452 } // namespace blink |
OLD | NEW |