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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
369 | 369 |
370 case UseCounter::V8SVGSVGElement_Viewport_AttributeGetter: | 370 case UseCounter::V8SVGSVGElement_Viewport_AttributeGetter: |
371 return willBeRemoved("SVGSVGElement.viewport", 55, "5686865248124928"); | 371 return willBeRemoved("SVGSVGElement.viewport", 55, "5686865248124928"); |
372 | 372 |
373 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: | 373 case UseCounter::V8SVGViewElement_ViewTarget_AttributeGetter: |
374 return willBeRemoved("SVGViewElement.viewTarget", 56, "5665473114931200" ); | 374 return willBeRemoved("SVGViewElement.viewTarget", 56, "5665473114931200" ); |
375 | 375 |
376 case UseCounter::NavigatorPointerEnabled: | 376 case UseCounter::NavigatorPointerEnabled: |
377 return "Navigator.pointerEnabled is a non-standard API added for experim ents only. It will be removed in near future."; | 377 return "Navigator.pointerEnabled is a non-standard API added for experim ents only. It will be removed in near future."; |
378 | 378 |
379 case UseCounter::DocumentCreateElement2ndArg: | |
dominicc (has gone to gerrit)
2016/09/15 01:19:24
Maybe give this a more descriptive name, because c
| |
380 return "Document.createElement second argument string will be replaced i n near future with the dictionary. See https://dom.spec.whatwg.org/#dom-document -createelement."; | |
dominicc (has gone to gerrit)
2016/09/15 01:19:24
Maybe make this more explicit: Change to passing a
| |
381 | |
379 // Features that aren't deprecated don't have a deprecation message. | 382 // Features that aren't deprecated don't have a deprecation message. |
380 default: | 383 default: |
381 return String(); | 384 return String(); |
382 } | 385 } |
383 } | 386 } |
384 | 387 |
385 } // namespace blink | 388 } // namespace blink |
OLD | NEW |