| 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 | 387 |
| 388 case UseCounter:: | 388 case UseCounter:: |
| 389 kServiceWorkerRespondToNavigationRequestWithRedirectedResponse: | 389 kServiceWorkerRespondToNavigationRequestWithRedirectedResponse: |
| 390 return String::Format( | 390 return String::Format( |
| 391 "The service worker responded to the navigation request with a " | 391 "The service worker responded to the navigation request with a " |
| 392 "redirected response. This will result in an error in %s.", | 392 "redirected response. This will result in an error in %s.", |
| 393 milestoneString(M59)); | 393 milestoneString(M59)); |
| 394 | 394 |
| 395 case UseCounter::kCSSSelectorInternalMediaControlsOverlayCastButton: | 395 case UseCounter::kCSSSelectorInternalMediaControlsOverlayCastButton: |
| 396 return willBeRemoved( | 396 return willBeRemoved( |
| 397 "-internal-media-controls-overlay-cast-button selector", M59, | 397 "-internal-media-controls-overlay-cast-button selector", M61, |
| 398 "5714245488476160"); | 398 "5714245488476160"); |
| 399 | 399 |
| 400 case UseCounter::kCSSZoomReset: | 400 case UseCounter::kCSSZoomReset: |
| 401 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560"); | 401 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560"); |
| 402 | 402 |
| 403 case UseCounter::kCSSZoomDocument: | 403 case UseCounter::kCSSZoomDocument: |
| 404 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); | 404 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); |
| 405 | 405 |
| 406 case UseCounter::kSelectionAddRangeIntersect: | 406 case UseCounter::kSelectionAddRangeIntersect: |
| 407 return "The behavior that Selection.addRange() merges existing Range and " | 407 return "The behavior that Selection.addRange() merges existing Range and " |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 return willBeRemoved("RTCPeerConnection.getStreamById()", M62, | 448 return willBeRemoved("RTCPeerConnection.getStreamById()", M62, |
| 449 "5751819573657600"); | 449 "5751819573657600"); |
| 450 | 450 |
| 451 // Features that aren't deprecated don't have a deprecation message. | 451 // Features that aren't deprecated don't have a deprecation message. |
| 452 default: | 452 default: |
| 453 return String(); | 453 return String(); |
| 454 } | 454 } |
| 455 } | 455 } |
| 456 | 456 |
| 457 } // namespace blink | 457 } // namespace blink |
| OLD | NEW |