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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 "details."; | 371 "details."; |
372 | 372 |
373 case UseCounter::kRtcpMuxPolicyNegotiate: | 373 case UseCounter::kRtcpMuxPolicyNegotiate: |
374 return String::Format( | 374 return String::Format( |
375 "The rtcpMuxPolicy option is being considered for " | 375 "The rtcpMuxPolicy option is being considered for " |
376 "removal and may be removed no earlier than %s. If you depend on it, " | 376 "removal and may be removed no earlier than %s. If you depend on it, " |
377 "please see https://www.chromestatus.com/features/5654810086866944 " | 377 "please see https://www.chromestatus.com/features/5654810086866944 " |
378 "for more details.", | 378 "for more details.", |
379 milestoneString(M62)); | 379 milestoneString(M62)); |
380 | 380 |
381 case UseCounter::kV8IDBFactory_WebkitGetDatabaseNames_Method: | |
382 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, | |
383 "5725741740195840"); | |
384 | |
385 case UseCounter::kVibrateWithoutUserGesture: | 381 case UseCounter::kVibrateWithoutUserGesture: |
386 return willBeRemoved( | 382 return willBeRemoved( |
387 "A call to navigator.vibrate without user tap on the frame or any " | 383 "A call to navigator.vibrate without user tap on the frame or any " |
388 "embedded frame", | 384 "embedded frame", |
389 M60, "5644273861001216"); | 385 M60, "5644273861001216"); |
390 | 386 |
391 case UseCounter::kChildSrcAllowedWorkerThatScriptSrcBlocked: | 387 case UseCounter::kChildSrcAllowedWorkerThatScriptSrcBlocked: |
392 return replacedWillBeRemoved("The 'child-src' directive", | 388 return replacedWillBeRemoved("The 'child-src' directive", |
393 "the 'script-src' directive for Workers", | 389 "the 'script-src' directive for Workers", |
394 M60, "5922594955984896"); | 390 M60, "5922594955984896"); |
(...skipping 16 matching lines...) Expand all Loading... |
411 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, | 407 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, |
412 "5638783282184192"); | 408 "5638783282184192"); |
413 | 409 |
414 // Features that aren't deprecated don't have a deprecation message. | 410 // Features that aren't deprecated don't have a deprecation message. |
415 default: | 411 default: |
416 return String(); | 412 return String(); |
417 } | 413 } |
418 } | 414 } |
419 | 415 |
420 } // namespace blink | 416 } // namespace blink |
OLD | NEW |