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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 case UseCounter::VRDeprecatedGetPose: | 382 case UseCounter::VRDeprecatedGetPose: |
383 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 383 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
384 | 384 |
385 case UseCounter:: | 385 case UseCounter:: |
386 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse: | 386 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse: |
387 return String::format( | 387 return String::format( |
388 "The service worker responded to the navigation request with a " | 388 "The service worker responded to the navigation request with a " |
389 "redirected response. This will result in an error in %s.", | 389 "redirected response. This will result in an error in %s.", |
390 milestoneString(M59)); | 390 milestoneString(M59)); |
391 | 391 |
392 case UseCounter::CSSSelectorInternalMediaControlsCastButton: | |
393 return willBeRemoved("-internal-media-controls-cast-button selector", M59, | |
394 "5734009183141888"); | |
395 | |
396 case UseCounter::CSSSelectorInternalMediaControlsOverlayCastButton: | 392 case UseCounter::CSSSelectorInternalMediaControlsOverlayCastButton: |
397 return willBeRemoved( | 393 return willBeRemoved( |
398 "-internal-media-controls-overlay-cast-button selector", M59, | 394 "-internal-media-controls-overlay-cast-button selector", M59, |
399 "5714245488476160"); | 395 "5714245488476160"); |
400 | 396 |
401 case UseCounter::CSSSelectorInternalMediaControlsTextTrackList: | 397 case UseCounter::CSSSelectorInternalMediaControlsTextTrackList: |
402 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItem: | 398 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItem: |
403 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItemInput: | 399 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItemInput: |
404 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindCaptions: | 400 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindCaptions: |
405 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindSubtitles: | 401 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindSubtitles: |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, | 438 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, |
443 "5725741740195840"); | 439 "5725741740195840"); |
444 | 440 |
445 // Features that aren't deprecated don't have a deprecation message. | 441 // Features that aren't deprecated don't have a deprecation message. |
446 default: | 442 default: |
447 return String(); | 443 return String(); |
448 } | 444 } |
449 } | 445 } |
450 | 446 |
451 } // namespace blink | 447 } // namespace blink |
OLD | NEW |