| 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 "details.", | 378 "details.", |
| 379 milestoneString(M60)); | 379 milestoneString(M60)); |
| 380 | 380 |
| 381 case UseCounter::kCSSSelectorPseudoShadow: | 381 case UseCounter::kCSSSelectorPseudoShadow: |
| 382 return willBeRemoved("::shadow pseudo-element", M60, "6750456638341120"); | 382 return willBeRemoved("::shadow pseudo-element", M60, "6750456638341120"); |
| 383 | 383 |
| 384 case UseCounter::kVREyeParametersOffset: | 384 case UseCounter::kVREyeParametersOffset: |
| 385 return replacedBy("VREyeParameters.offset", | 385 return replacedBy("VREyeParameters.offset", |
| 386 "view matrices provided by VRFrameData"); | 386 "view matrices provided by VRFrameData"); |
| 387 | 387 |
| 388 case UseCounter:: | |
| 389 kServiceWorkerRespondToNavigationRequestWithRedirectedResponse: | |
| 390 return String::Format( | |
| 391 "The service worker responded to the navigation request with a " | |
| 392 "redirected response. This will result in an error in %s.", | |
| 393 milestoneString(M59)); | |
| 394 | |
| 395 case UseCounter::kCSSSelectorInternalMediaControlsOverlayCastButton: | 388 case UseCounter::kCSSSelectorInternalMediaControlsOverlayCastButton: |
| 396 return willBeRemoved( | 389 return willBeRemoved( |
| 397 "-internal-media-controls-overlay-cast-button selector", M59, | 390 "-internal-media-controls-overlay-cast-button selector", M59, |
| 398 "5714245488476160"); | 391 "5714245488476160"); |
| 399 | 392 |
| 400 case UseCounter::kCSSZoomReset: | 393 case UseCounter::kCSSZoomReset: |
| 401 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560"); | 394 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560"); |
| 402 | 395 |
| 403 case UseCounter::kCSSZoomDocument: | 396 case UseCounter::kCSSZoomDocument: |
| 404 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); | 397 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 return willBeRemoved("RTCPeerConnection.getStreamById()", M62, | 441 return willBeRemoved("RTCPeerConnection.getStreamById()", M62, |
| 449 "5751819573657600"); | 442 "5751819573657600"); |
| 450 | 443 |
| 451 // Features that aren't deprecated don't have a deprecation message. | 444 // Features that aren't deprecated don't have a deprecation message. |
| 452 default: | 445 default: |
| 453 return String(); | 446 return String(); |
| 454 } | 447 } |
| 455 } | 448 } |
| 456 | 449 |
| 457 } // namespace blink | 450 } // namespace blink |
| OLD | NEW |