| 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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::CSSSelectorInternalMediaControlsOverlayCastButton: | 392 case UseCounter::CSSSelectorInternalMediaControlsOverlayCastButton: |
| 393 return willBeRemoved( | 393 return willBeRemoved( |
| 394 "-internal-media-controls-overlay-cast-button selector", M59, | 394 "-internal-media-controls-overlay-cast-button selector", M59, |
| 395 "5714245488476160"); | 395 "5714245488476160"); |
| 396 | 396 |
| 397 case UseCounter::CSSSelectorInternalMediaControlsTextTrackList: | |
| 398 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItem: | |
| 399 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItemInput: | |
| 400 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindCaptions: | |
| 401 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindSubtitles: | |
| 402 return willBeRemoved( | |
| 403 "-internal-media-controls-text-track-list* selectors", M59, | |
| 404 "5661431349379072"); | |
| 405 | |
| 406 case UseCounter::FileReaderSyncInServiceWorker: | 397 case UseCounter::FileReaderSyncInServiceWorker: |
| 407 return willBeRemoved("FileReaderSync in service workers", M59, | 398 return willBeRemoved("FileReaderSync in service workers", M59, |
| 408 "5739144722513920"); | 399 "5739144722513920"); |
| 409 | 400 |
| 410 case UseCounter::CSSZoomReset: | 401 case UseCounter::CSSZoomReset: |
| 411 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560"); | 402 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560"); |
| 412 | 403 |
| 413 case UseCounter::CSSZoomDocument: | 404 case UseCounter::CSSZoomDocument: |
| 414 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); | 405 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); |
| 415 | 406 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 438 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, | 429 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, |
| 439 "5725741740195840"); | 430 "5725741740195840"); |
| 440 | 431 |
| 441 // Features that aren't deprecated don't have a deprecation message. | 432 // Features that aren't deprecated don't have a deprecation message. |
| 442 default: | 433 default: |
| 443 return String(); | 434 return String(); |
| 444 } | 435 } |
| 445 } | 436 } |
| 446 | 437 |
| 447 } // namespace blink | 438 } // namespace blink |
| OLD | NEW |