| 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 | 366 |
| 367 case UseCounter::WindowPostMessageWithLegacyTargetOriginArgument: | 367 case UseCounter::WindowPostMessageWithLegacyTargetOriginArgument: |
| 368 return replacedWillBeRemoved("'window.postMessage(message, transferables
, targetOrigin)'", "'window.postMessage(message, targetOrigin, transferables)'",
54, "5719033043222528"); | 368 return replacedWillBeRemoved("'window.postMessage(message, transferables
, targetOrigin)'", "'window.postMessage(message, targetOrigin, transferables)'",
54, "5719033043222528"); |
| 369 | 369 |
| 370 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: | 370 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: |
| 371 return "contentType strings without codecs will not be supported by requ
estMediaKeySystemAccess() in the future. Please specify the desired codec(s) as
part of the contentType."; | 371 return "contentType strings without codecs will not be supported by requ
estMediaKeySystemAccess() in the future. Please specify the desired codec(s) as
part of the contentType."; |
| 372 | 372 |
| 373 case UseCounter::V8KeyboardEvent_KeyIdentifier_AttributeGetter: | 373 case UseCounter::V8KeyboardEvent_KeyIdentifier_AttributeGetter: |
| 374 return willBeRemoved("'KeyboardEvent.keyIdentifier'", 53, "5316065118650
368"); | 374 return willBeRemoved("'KeyboardEvent.keyIdentifier'", 53, "5316065118650
368"); |
| 375 | 375 |
| 376 case UseCounter::During_Microtask_Alert: |
| 377 return willBeRemoved("Invoking 'alert()' during microtask execution", 53
, "5647113010544640"); |
| 378 |
| 379 case UseCounter::During_Microtask_Confirm: |
| 380 return willBeRemoved("Invoking 'confirm()' during microtask execution",
53, "5647113010544640"); |
| 381 |
| 382 case UseCounter::During_Microtask_Print: |
| 383 return willBeRemoved("Invoking 'print()' during microtask execution", 53
, "5647113010544640"); |
| 384 |
| 385 case UseCounter::During_Microtask_Prompt: |
| 386 return willBeRemoved("Invoking 'prompt()' during microtask execution", 5
3, "5647113010544640"); |
| 387 |
| 388 case UseCounter::During_Microtask_SyncXHR: |
| 389 return willBeRemoved("Invoking 'send()' on a sync XHR during microtask e
xecution", 53, "5647113010544640"); |
| 390 |
| 376 // Features that aren't deprecated don't have a deprecation message. | 391 // Features that aren't deprecated don't have a deprecation message. |
| 377 default: | 392 default: |
| 378 return String(); | 393 return String(); |
| 379 } | 394 } |
| 380 } | 395 } |
| 381 | 396 |
| 382 } // namespace blink | 397 } // namespace blink |
| OLD | NEW |