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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 | 379 |
380 case UseCounter::NavigatorPointerEnabled: | 380 case UseCounter::NavigatorPointerEnabled: |
381 return "Navigator.pointerEnabled is a non-standard API added for experim
ents only. It will be removed in near future."; | 381 return "Navigator.pointerEnabled is a non-standard API added for experim
ents only. It will be removed in near future."; |
382 | 382 |
383 case UseCounter::WebAudioAutoplayCrossOriginIframe: | 383 case UseCounter::WebAudioAutoplayCrossOriginIframe: |
384 return willBeRemoved("Web Audio autoplay (without user gesture) from cro
ss-origin iframes", M55, "6406908126691328"); | 384 return willBeRemoved("Web Audio autoplay (without user gesture) from cro
ss-origin iframes", M55, "6406908126691328"); |
385 | 385 |
386 case UseCounter::ScriptInvalidTypeOrLanguage: | 386 case UseCounter::ScriptInvalidTypeOrLanguage: |
387 return willBeRemoved("Fetching scripts with an invalid type/language att
ributes", M56, "5760718284521472"); | 387 return willBeRemoved("Fetching scripts with an invalid type/language att
ributes", M56, "5760718284521472"); |
388 | 388 |
| 389 // The PaymentAddress.careOf was deprecated and then will be removed in M56. |
| 390 // Please see: https://www.chromestatus.com/features/5728579069411328 |
| 391 case UseCounter::PaymentAddressCareOf: |
| 392 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); |
| 393 |
389 // Features that aren't deprecated don't have a deprecation message. | 394 // Features that aren't deprecated don't have a deprecation message. |
390 default: | 395 default: |
391 return String(); | 396 return String(); |
392 } | 397 } |
393 } | 398 } |
394 | 399 |
395 } // namespace blink | 400 } // namespace blink |
OLD | NEW |