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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 360 | 360 |
| 361 case UseCounter::TouchDragUserGestureUsedCrossOrigin: | 361 case UseCounter::TouchDragUserGestureUsedCrossOrigin: |
| 362 return willBeRemoved("Performing sensitive operations in iframes on touc h events which don't represent a tap gesture", 52, "https://www.chromestatus.com /features/5649871251963904"); | 362 return willBeRemoved("Performing sensitive operations in iframes on touc h events which don't represent a tap gesture", 52, "https://www.chromestatus.com /features/5649871251963904"); |
| 363 | 363 |
| 364 case UseCounter::WebAnimationsEasingAsFunctionLinear: | 364 case UseCounter::WebAnimationsEasingAsFunctionLinear: |
| 365 return String::format("Specifying animation easing as a function is depr ecated and all support will be removed in %s, at which point this will throw a T ypeError. This warning may have been triggered by the Web Animations or Polymer polyfills. See http://crbug.com/601672 for details.", milestoneString(54)); | 365 return String::format("Specifying animation easing as a function is depr ecated and all support will be removed in %s, at which point this will throw a T ypeError. This warning may have been triggered by the Web Animations or Polymer polyfills. See http://crbug.com/601672 for details.", milestoneString(54)); |
| 366 | 366 |
| 367 case UseCounter::WindowPostMessageWithLegacyTargetOriginArgument: | 367 case UseCounter::WindowPostMessageWithLegacyTargetOriginArgument: |
| 368 return replacedWillBeRemoved("'window.postMessage(message, transferables , targetOrigin)'", "'window.postMessage(message, targetOrigin, transferables)'", 54, "5719033043222528"); | 368 return replacedWillBeRemoved("'window.postMessage(message, transferables , targetOrigin)'", "'window.postMessage(message, targetOrigin, transferables)'", 54, "5719033043222528"); |
| 369 | 369 |
| 370 case UseCounter::V8KeyboardEvent_KeyIdentifier_AttributeGetter: | |
| 371 return willBeRemoved("'KeyboardEvent.keyIdentifier'", 53, "5316065118650 368"); | |
|
bokan
2016/04/29 17:38:54
I'm assuming the last argument should be the URL t
dtapuska
2016/04/29 17:41:13
see the sprintf here:
https://code.google.com/p/c
| |
| 372 | |
| 370 // Features that aren't deprecated don't have a deprecation message. | 373 // Features that aren't deprecated don't have a deprecation message. |
| 371 default: | 374 default: |
| 372 return String(); | 375 return String(); |
| 373 } | 376 } |
| 374 } | 377 } |
| 375 | 378 |
| 376 } // namespace blink | 379 } // namespace blink |
| OLD | NEW |