| 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::FileReaderSyncInServiceWorker: | |
| 398 return willBeRemoved("FileReaderSync in service workers", M59, | |
| 399 "5739144722513920"); | |
| 400 | |
| 401 case UseCounter::CSSZoomReset: | 397 case UseCounter::CSSZoomReset: |
| 402 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560"); | 398 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560"); |
| 403 | 399 |
| 404 case UseCounter::CSSZoomDocument: | 400 case UseCounter::CSSZoomDocument: |
| 405 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); | 401 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); |
| 406 | 402 |
| 407 case UseCounter::SelectionAddRangeIntersect: | 403 case UseCounter::SelectionAddRangeIntersect: |
| 408 return "The behavior that Selection.addRange() merges existing Range and " | 404 return "The behavior that Selection.addRange() merges existing Range and " |
| 409 "the specified Range was removed. See " | 405 "the specified Range was removed. See " |
| 410 "https://www.chromestatus.com/features/6680566019653632 for more " | 406 "https://www.chromestatus.com/features/6680566019653632 for more " |
| (...skipping 23 matching lines...) Expand all Loading... |
| 434 "the 'script-src' directive for Workers", | 430 "the 'script-src' directive for Workers", |
| 435 M60, "5922594955984896"); | 431 M60, "5922594955984896"); |
| 436 | 432 |
| 437 // Features that aren't deprecated don't have a deprecation message. | 433 // Features that aren't deprecated don't have a deprecation message. |
| 438 default: | 434 default: |
| 439 return String(); | 435 return String(); |
| 440 } | 436 } |
| 441 } | 437 } |
| 442 | 438 |
| 443 } // namespace blink | 439 } // namespace blink |
| OLD | NEW |