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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
335 | 335 |
336 case UseCounter::RTCPeerConnectionCreateOfferLegacyNoFailureCallback: | 336 case UseCounter::RTCPeerConnectionCreateOfferLegacyNoFailureCallback: |
337 return "RTCPeerConnection.CreateOffer without a failure callback is depr ecated. The failure callback will be a required parameter in M50. See https://ww w.chromestatus.com/feature/5663288008376320 for more details"; | 337 return "RTCPeerConnection.CreateOffer without a failure callback is depr ecated. The failure callback will be a required parameter in M50. See https://ww w.chromestatus.com/feature/5663288008376320 for more details"; |
338 | 338 |
339 case UseCounter::ObjectObserve: | 339 case UseCounter::ObjectObserve: |
340 return willBeRemoved("'Object.observe'", 50, "6147094632988672"); | 340 return willBeRemoved("'Object.observe'", 50, "6147094632988672"); |
341 | 341 |
342 case UseCounter::SVGZoomEvent: | 342 case UseCounter::SVGZoomEvent: |
343 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528"); | 343 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528"); |
344 | 344 |
345 case UseCounter::HTMLKeygenElement: | |
346 return "The <keygen> element is deprecated and will be removed."; | |
jochen (gone - plz use gerrit)
2016/02/23 15:23:30
please use the willBeRemoved() method to construct
svaldez
2016/02/23 15:35:47
The removal timeline is still slightly rough, thou
| |
347 | |
345 // Features that aren't deprecated don't have a deprecation message. | 348 // Features that aren't deprecated don't have a deprecation message. |
346 default: | 349 default: |
347 return String(); | 350 return String(); |
348 } | 351 } |
349 } | 352 } |
350 | 353 |
351 } // namespace blink | 354 } // namespace blink |
OLD | NEW |