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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 "5665772797952000"); | 440 "5665772797952000"); |
441 | 441 |
442 case UseCounter::V8SVGSVGElement_UseCurrentView_AttributeGetter: | 442 case UseCounter::V8SVGSVGElement_UseCurrentView_AttributeGetter: |
443 return willBeRemoved("SVGSVGElement.useCurrentView", M56, | 443 return willBeRemoved("SVGSVGElement.useCurrentView", M56, |
444 "4511711998509056"); | 444 "4511711998509056"); |
445 | 445 |
446 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter: | 446 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter: |
447 return willBeRemoved("SVGSVGElement.currentView", M56, | 447 return willBeRemoved("SVGSVGElement.currentView", M56, |
448 "4511711998509056"); | 448 "4511711998509056"); |
449 | 449 |
450 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: | |
451 return willBeRemoved("SVGViewElement.viewTarget", M56, | |
452 "5665473114931200"); | |
453 | |
454 case UseCounter::ScriptInvalidTypeOrLanguage: | 450 case UseCounter::ScriptInvalidTypeOrLanguage: |
455 return willBeRemoved( | 451 return willBeRemoved( |
456 "Fetching scripts with an invalid type/language attributes", M56, | 452 "Fetching scripts with an invalid type/language attributes", M56, |
457 "5760718284521472"); | 453 "5760718284521472"); |
458 | 454 |
459 case UseCounter::VRDeprecatedFieldOfView: | 455 case UseCounter::VRDeprecatedFieldOfView: |
460 return replacedBy("VREyeParameters.fieldOfView", | 456 return replacedBy("VREyeParameters.fieldOfView", |
461 "projection matrices provided by VRFrameData"); | 457 "projection matrices provided by VRFrameData"); |
462 | 458 |
463 case UseCounter::VRDeprecatedGetPose: | 459 case UseCounter::VRDeprecatedGetPose: |
464 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 460 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
465 | 461 |
466 // Features that aren't deprecated don't have a deprecation message. | 462 // Features that aren't deprecated don't have a deprecation message. |
467 default: | 463 default: |
468 return String(); | 464 return String(); |
469 } | 465 } |
470 } | 466 } |
471 | 467 |
472 } // namespace blink | 468 } // namespace blink |
OLD | NEW |