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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 case UseCounter::HTMLObjectElementLegacyCall: | 387 case UseCounter::HTMLObjectElementLegacyCall: |
388 return willBeRemoved("HTMLObjectElement legacy caller", M58, | 388 return willBeRemoved("HTMLObjectElement legacy caller", M58, |
389 "5715026367217664"); | 389 "5715026367217664"); |
390 case UseCounter:: | 390 case UseCounter:: |
391 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse: | 391 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse: |
392 return String::format( | 392 return String::format( |
393 "The service worker responded to the navigation request with a " | 393 "The service worker responded to the navigation request with a " |
394 "redirected response. This will result in an error in %s.", | 394 "redirected response. This will result in an error in %s.", |
395 milestoneString(M59)); | 395 milestoneString(M59)); |
396 | 396 |
| 397 case UseCounter::CSSSelectorInternalMediaControlsCastButton: |
| 398 return willBeRemoved("-internal-media-controls-cast-button selector", M59, |
| 399 "5734009183141888"); |
| 400 |
| 401 case UseCounter::CSSSelectorInternalMediaControlsOverlayCastButton: |
| 402 return willBeRemoved( |
| 403 "-internal-media-controls-overlay-cast-button selector", M59, |
| 404 "5714245488476160"); |
| 405 |
| 406 case UseCounter::CSSSelectorInternalMediaControlsTextTrackList: |
| 407 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItem: |
| 408 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItemInput: |
| 409 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindCaptions: |
| 410 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindSubtitles: |
| 411 return willBeRemoved( |
| 412 "-internal-media-controls-text-track-list* selectors", M59, |
| 413 "5661431349379072"); |
| 414 |
397 // Features that aren't deprecated don't have a deprecation message. | 415 // Features that aren't deprecated don't have a deprecation message. |
398 default: | 416 default: |
399 return String(); | 417 return String(); |
400 } | 418 } |
401 } | 419 } |
402 | 420 |
403 } // namespace blink | 421 } // namespace blink |
OLD | NEW |