Chromium Code Reviews| 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 457 case UseCounter::PaymentAddressCareOf: | 457 case UseCounter::PaymentAddressCareOf: |
| 458 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); | 458 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); |
| 459 | 459 |
| 460 case UseCounter::VRDeprecatedFieldOfView: | 460 case UseCounter::VRDeprecatedFieldOfView: |
| 461 return replacedBy("VREyeParameters.fieldOfView", | 461 return replacedBy("VREyeParameters.fieldOfView", |
| 462 "projection matrices provided by VRFrameData"); | 462 "projection matrices provided by VRFrameData"); |
| 463 | 463 |
| 464 case UseCounter::VRDeprecatedGetPose: | 464 case UseCounter::VRDeprecatedGetPose: |
| 465 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 465 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
| 466 | 466 |
| 467 case UseCounter::DeprecatedBluetoothDeviceUUIDsAttribute: | |
| 468 return "BluetoothDevice.uuids attribute is deprecated, replace it with " | |
|
ortuno
2016/10/11 00:50:42
nit: "BluetoothDevice.uuids is deprecated. Use get
juncai
2016/10/11 17:31:46
Done.
| |
| 469 "uses of getPrimaryServices()."; | |
| 470 | |
| 467 // Features that aren't deprecated don't have a deprecation message. | 471 // Features that aren't deprecated don't have a deprecation message. |
| 468 default: | 472 default: |
| 469 return String(); | 473 return String(); |
| 470 } | 474 } |
| 471 } | 475 } |
| 472 | 476 |
| 473 } // namespace blink | 477 } // namespace blink |
| OLD | NEW |