| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 return willBeRemoved("The <keygen> element", M56, "5716060992962560"); | 410 return willBeRemoved("The <keygen> element", M56, "5716060992962560"); |
| 411 | 411 |
| 412 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: | 412 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: |
| 413 return String::format( | 413 return String::format( |
| 414 "EME requires that contentType strings accepted by " | 414 "EME requires that contentType strings accepted by " |
| 415 "requestMediaKeySystemAccess() include codecs. Non-standard support " | 415 "requestMediaKeySystemAccess() include codecs. Non-standard support " |
| 416 "for contentType strings without codecs will be removed in %s. " | 416 "for contentType strings without codecs will be removed in %s. " |
| 417 "Please specify the desired codec(s) as part of the contentType.", | 417 "Please specify the desired codec(s) as part of the contentType.", |
| 418 milestoneString(M56)); | 418 milestoneString(M56)); |
| 419 | 419 |
| 420 case UseCounter::TouchStartUserGestureUtilized: | |
| 421 return willBeRemoved( | |
| 422 "Performing operations that require explicit user interaction on " | |
| 423 "touchstart events", | |
| 424 M56, "5649871251963904"); | |
| 425 | |
| 426 case UseCounter::TouchMoveUserGestureUtilized: | |
| 427 return willBeRemoved( | |
| 428 "Performing operations that require explicit user interaction on " | |
| 429 "touchmove events", | |
| 430 M56, "5649871251963904"); | |
| 431 | |
| 432 case UseCounter::TouchEndDuringScrollUserGestureUtilized: | |
| 433 return willBeRemoved( | |
| 434 "Performing operations that require explicit user interaction on " | |
| 435 "touchend events that occur as part of a scroll", | |
| 436 M56, "5649871251963904"); | |
| 437 | |
| 438 case UseCounter::MIDIMessageEventReceivedTime: | 420 case UseCounter::MIDIMessageEventReceivedTime: |
| 439 return willBeRemoved("MIDIMessageEvent.receivedTime", M56, | 421 return willBeRemoved("MIDIMessageEvent.receivedTime", M56, |
| 440 "5665772797952000"); | 422 "5665772797952000"); |
| 441 | 423 |
| 442 case UseCounter::V8SVGSVGElement_UseCurrentView_AttributeGetter: | 424 case UseCounter::V8SVGSVGElement_UseCurrentView_AttributeGetter: |
| 443 return willBeRemoved("SVGSVGElement.useCurrentView", M56, | 425 return willBeRemoved("SVGSVGElement.useCurrentView", M56, |
| 444 "4511711998509056"); | 426 "4511711998509056"); |
| 445 | 427 |
| 446 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter: | 428 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter: |
| 447 return willBeRemoved("SVGSVGElement.currentView", M56, | 429 return willBeRemoved("SVGSVGElement.currentView", M56, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 463 case UseCounter::VRDeprecatedGetPose: | 445 case UseCounter::VRDeprecatedGetPose: |
| 464 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 446 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
| 465 | 447 |
| 466 // Features that aren't deprecated don't have a deprecation message. | 448 // Features that aren't deprecated don't have a deprecation message. |
| 467 default: | 449 default: |
| 468 return String(); | 450 return String(); |
| 469 } | 451 } |
| 470 } | 452 } |
| 471 | 453 |
| 472 } // namespace blink | 454 } // namespace blink |
| OLD | NEW |