| 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/LocalFrame.h" | 10 #include "core/frame/LocalFrame.h" |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 "as of %s. See https://www.chromestatus.com/features/5030265697075200" | 402 "as of %s. See https://www.chromestatus.com/features/5030265697075200" |
| 403 " for more details.", | 403 " for more details.", |
| 404 milestoneString(M59)); | 404 milestoneString(M59)); |
| 405 | 405 |
| 406 case UseCounter::kRtcpMuxPolicyNegotiate: | 406 case UseCounter::kRtcpMuxPolicyNegotiate: |
| 407 return String::Format( | 407 return String::Format( |
| 408 "The rtcpMuxPolicy option is being considered for " | 408 "The rtcpMuxPolicy option is being considered for " |
| 409 "removal and may be removed no earlier than %s. If you depend on it, " | 409 "removal and may be removed no earlier than %s. If you depend on it, " |
| 410 "please see https://www.chromestatus.com/features/5654810086866944 " | 410 "please see https://www.chromestatus.com/features/5654810086866944 " |
| 411 "for more details.", | 411 "for more details.", |
| 412 milestoneString(M60)); | 412 milestoneString(M62)); |
| 413 | 413 |
| 414 case UseCounter::kV8IDBFactory_WebkitGetDatabaseNames_Method: | 414 case UseCounter::kV8IDBFactory_WebkitGetDatabaseNames_Method: |
| 415 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, | 415 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, |
| 416 "5725741740195840"); | 416 "5725741740195840"); |
| 417 | 417 |
| 418 case UseCounter::kVibrateWithoutUserGesture: | 418 case UseCounter::kVibrateWithoutUserGesture: |
| 419 return willBeRemoved( | 419 return willBeRemoved( |
| 420 "A call to navigator.vibrate without user tap on the frame or any " | 420 "A call to navigator.vibrate without user tap on the frame or any " |
| 421 "embedded frame", | 421 "embedded frame", |
| 422 M60, "5644273861001216"); | 422 M60, "5644273861001216"); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 444 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, | 444 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, |
| 445 "5638783282184192"); | 445 "5638783282184192"); |
| 446 | 446 |
| 447 // Features that aren't deprecated don't have a deprecation message. | 447 // Features that aren't deprecated don't have a deprecation message. |
| 448 default: | 448 default: |
| 449 return String(); | 449 return String(); |
| 450 } | 450 } |
| 451 } | 451 } |
| 452 | 452 |
| 453 } // namespace blink | 453 } // namespace blink |
| OLD | NEW |