Chromium Code Reviews| 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 378 | 378 |
| 379 case UseCounter::NavigatorPointerEnabled: | 379 case UseCounter::NavigatorPointerEnabled: |
| 380 return "Navigator.pointerEnabled is a non-standard API added for experim ents only. It will be removed in near future."; | 380 return "Navigator.pointerEnabled is a non-standard API added for experim ents only. It will be removed in near future."; |
| 381 | 381 |
| 382 case UseCounter::WebAudioAutoplayCrossOriginIframe: | 382 case UseCounter::WebAudioAutoplayCrossOriginIframe: |
| 383 return willBeRemoved("Web Audio autoplay (without user gesture) from cro ss-origin iframes", 55, "6406908126691328"); | 383 return willBeRemoved("Web Audio autoplay (without user gesture) from cro ss-origin iframes", 55, "6406908126691328"); |
| 384 | 384 |
| 385 case UseCounter::ScriptInvalidTypeOrLanguage: | 385 case UseCounter::ScriptInvalidTypeOrLanguage: |
| 386 return String::format("Fetching scripts with an invalid type/language at tributes is deprecated and will be removed in %s. See https://www.chromestatus.c om/feature/5760718284521472 for more details.", milestoneString(56)); | 386 return String::format("Fetching scripts with an invalid type/language at tributes is deprecated and will be removed in %s. See https://www.chromestatus.c om/feature/5760718284521472 for more details.", milestoneString(56)); |
| 387 | 387 |
| 388 case UseCounter::PaymentAddressCareOf: | |
| 389 return willBeRemoved("PaymentAddress.careOf", 56, "5728579069411328"); | |
|
haraken
2016/09/22 00:54:42
Maybe add a comment about what the value implies.
please use gerrit instead
2016/09/22 13:22:37
+1
zino
2016/09/22 15:42:30
I left a comment but I'm not sure if you means tha
| |
| 390 | |
| 388 // Features that aren't deprecated don't have a deprecation message. | 391 // Features that aren't deprecated don't have a deprecation message. |
| 389 default: | 392 default: |
| 390 return String(); | 393 return String(); |
| 391 } | 394 } |
| 392 } | 395 } |
| 393 | 396 |
| 394 } // namespace blink | 397 } // namespace blink |
| OLD | NEW |