| 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::V8SVGSVGElement_UseCurrentView_AttributeGetter: | 380 case UseCounter::V8SVGSVGElement_UseCurrentView_AttributeGetter: |
| 381 return willBeRemoved("SVGSVGElement.useCurrentView", M56, "4511711998509
056"); | 381 return willBeRemoved("SVGSVGElement.useCurrentView", M56, "4511711998509
056"); |
| 382 | 382 |
| 383 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter: | 383 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter: |
| 384 return willBeRemoved("SVGSVGElement.currentView", M56, "4511711998509056
"); | 384 return willBeRemoved("SVGSVGElement.currentView", M56, "4511711998509056
"); |
| 385 | 385 |
| 386 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: | 386 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: |
| 387 return willBeRemoved("SVGViewElement.viewTarget", M56, "5665473114931200
"); | 387 return willBeRemoved("SVGViewElement.viewTarget", M56, "5665473114931200
"); |
| 388 | 388 |
| 389 case UseCounter::NavigatorPointerEnabled: | |
| 390 return "Navigator.pointerEnabled is a non-standard API added for experim
ents only. It will be removed in near future."; | |
| 391 | |
| 392 case UseCounter::WebAudioAutoplayCrossOriginIframe: | 389 case UseCounter::WebAudioAutoplayCrossOriginIframe: |
| 393 return willBeRemoved("Web Audio autoplay (without user gesture) from cro
ss-origin iframes", M55, "6406908126691328"); | 390 return willBeRemoved("Web Audio autoplay (without user gesture) from cro
ss-origin iframes", M55, "6406908126691328"); |
| 394 | 391 |
| 395 case UseCounter::ScriptInvalidTypeOrLanguage: | 392 case UseCounter::ScriptInvalidTypeOrLanguage: |
| 396 return willBeRemoved("Fetching scripts with an invalid type/language att
ributes", M56, "5760718284521472"); | 393 return willBeRemoved("Fetching scripts with an invalid type/language att
ributes", M56, "5760718284521472"); |
| 397 | 394 |
| 398 // The PaymentAddress.careOf was deprecated and then will be removed in M56. | 395 // The PaymentAddress.careOf was deprecated and then will be removed in M56. |
| 399 // Please see: https://www.chromestatus.com/features/5728579069411328 | 396 // Please see: https://www.chromestatus.com/features/5728579069411328 |
| 400 case UseCounter::PaymentAddressCareOf: | 397 case UseCounter::PaymentAddressCareOf: |
| 401 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); | 398 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); |
| 402 | 399 |
| 403 // Features that aren't deprecated don't have a deprecation message. | 400 // Features that aren't deprecated don't have a deprecation message. |
| 404 default: | 401 default: |
| 405 return String(); | 402 return String(); |
| 406 } | 403 } |
| 407 } | 404 } |
| 408 | 405 |
| 409 } // namespace blink | 406 } // namespace blink |
| OLD | NEW |