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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 "'Performance.clearResourceTimings'"); | 362 "'Performance.clearResourceTimings'"); |
363 | 363 |
364 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize: | 364 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize: |
365 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", | 365 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", |
366 "'Performance.setResourceTimingBufferSize'"); | 366 "'Performance.setResourceTimingBufferSize'"); |
367 | 367 |
368 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: | 368 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: |
369 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", | 369 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", |
370 "'Performance.onresourcetimingbufferfull'"); | 370 "'Performance.onresourcetimingbufferfull'"); |
371 | 371 |
372 case UseCounter::HTMLKeygenElement: | |
373 return willBeRemoved("The <keygen> element", M57, "5716060992962560"); | |
374 | |
375 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: | 372 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: |
376 return String::format( | 373 return String::format( |
377 "EME requires that contentType strings accepted by " | 374 "EME requires that contentType strings accepted by " |
378 "requestMediaKeySystemAccess() include codecs. Non-standard support " | 375 "requestMediaKeySystemAccess() include codecs. Non-standard support " |
379 "for contentType strings without codecs will be removed in %s. " | 376 "for contentType strings without codecs will be removed in %s. " |
380 "Please specify the desired codec(s) as part of the contentType.", | 377 "Please specify the desired codec(s) as part of the contentType.", |
381 milestoneString(M58)); | 378 milestoneString(M58)); |
382 | 379 |
383 case UseCounter::EncryptedMediaCapabilityNotProvided: | 380 case UseCounter::EncryptedMediaCapabilityNotProvided: |
384 return String::format( | 381 return String::format( |
(...skipping 24 matching lines...) Expand all Loading... |
409 "redirected response. This will result in an error in %s.", | 406 "redirected response. This will result in an error in %s.", |
410 milestoneString(M59)); | 407 milestoneString(M59)); |
411 | 408 |
412 // Features that aren't deprecated don't have a deprecation message. | 409 // Features that aren't deprecated don't have a deprecation message. |
413 default: | 410 default: |
414 return String(); | 411 return String(); |
415 } | 412 } |
416 } | 413 } |
417 | 414 |
418 } // namespace blink | 415 } // namespace blink |
OLD | NEW |