| 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 case UseCounter::TouchEndDuringScrollUserGestureUtilized: | 432 case UseCounter::TouchEndDuringScrollUserGestureUtilized: |
| 433 return willBeRemoved( | 433 return willBeRemoved( |
| 434 "Performing operations that require explicit user interaction on " | 434 "Performing operations that require explicit user interaction on " |
| 435 "touchend events that occur as part of a scroll", | 435 "touchend events that occur as part of a scroll", |
| 436 M56, "5649871251963904"); | 436 M56, "5649871251963904"); |
| 437 | 437 |
| 438 case UseCounter::MIDIMessageEventReceivedTime: | 438 case UseCounter::MIDIMessageEventReceivedTime: |
| 439 return willBeRemoved("MIDIMessageEvent.receivedTime", M56, | 439 return willBeRemoved("MIDIMessageEvent.receivedTime", M56, |
| 440 "5665772797952000"); | 440 "5665772797952000"); |
| 441 | 441 |
| 442 case UseCounter::V8SVGSVGElement_UseCurrentView_AttributeGetter: | |
| 443 return willBeRemoved("SVGSVGElement.useCurrentView", M56, | |
| 444 "4511711998509056"); | |
| 445 | |
| 446 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter: | |
| 447 return willBeRemoved("SVGSVGElement.currentView", M56, | |
| 448 "4511711998509056"); | |
| 449 | |
| 450 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: | 442 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: |
| 451 return willBeRemoved("SVGViewElement.viewTarget", M56, | 443 return willBeRemoved("SVGViewElement.viewTarget", M56, |
| 452 "5665473114931200"); | 444 "5665473114931200"); |
| 453 | 445 |
| 454 case UseCounter::ScriptInvalidTypeOrLanguage: | 446 case UseCounter::ScriptInvalidTypeOrLanguage: |
| 455 return willBeRemoved( | 447 return willBeRemoved( |
| 456 "Fetching scripts with an invalid type/language attributes", M56, | 448 "Fetching scripts with an invalid type/language attributes", M56, |
| 457 "5760718284521472"); | 449 "5760718284521472"); |
| 458 | 450 |
| 459 case UseCounter::VRDeprecatedFieldOfView: | 451 case UseCounter::VRDeprecatedFieldOfView: |
| 460 return replacedBy("VREyeParameters.fieldOfView", | 452 return replacedBy("VREyeParameters.fieldOfView", |
| 461 "projection matrices provided by VRFrameData"); | 453 "projection matrices provided by VRFrameData"); |
| 462 | 454 |
| 463 case UseCounter::VRDeprecatedGetPose: | 455 case UseCounter::VRDeprecatedGetPose: |
| 464 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 456 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
| 465 | 457 |
| 466 // Features that aren't deprecated don't have a deprecation message. | 458 // Features that aren't deprecated don't have a deprecation message. |
| 467 default: | 459 default: |
| 468 return String(); | 460 return String(); |
| 469 } | 461 } |
| 470 } | 462 } |
| 471 | 463 |
| 472 } // namespace blink | 464 } // namespace blink |
| OLD | NEW |