| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright (C) 2012 Google, Inc. All rights reserved. | 3 * Copyright (C) 2012 Google, Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 | 703 |
| 704 case PrefixedCancelAnimationFrame: | 704 case PrefixedCancelAnimationFrame: |
| 705 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the
standard 'cancelAnimationFrame' instead."; | 705 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the
standard 'cancelAnimationFrame' instead."; |
| 706 | 706 |
| 707 case PrefixedCancelRequestAnimationFrame: | 707 case PrefixedCancelRequestAnimationFrame: |
| 708 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u
se the standard 'cancelAnimationFrame' instead."; | 708 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u
se the standard 'cancelAnimationFrame' instead."; |
| 709 | 709 |
| 710 case HTMLHtmlElementManifest: | 710 case HTMLHtmlElementManifest: |
| 711 return "'HTMLHtmlElement.manifest' is deprecated. The manifest attribute
only has an effect during the early stages of document load."; | 711 return "'HTMLHtmlElement.manifest' is deprecated. The manifest attribute
only has an effect during the early stages of document load."; |
| 712 | 712 |
| 713 case DocumentCreateAttributeNS: |
| 714 return "'Document.createAttributeNS' is deprecated and has been removed
from DOM4 (http://w3.org/tr/dom)."; |
| 715 |
| 716 case AttributeOwnerElement: |
| 717 return "'Attr.ownerElement' is deprecated and has been removed from DOM4
(http://w3.org/tr/dom)."; |
| 718 |
| 719 case ElementSetAttributeNodeNS: |
| 720 return "'Element.setAttributeNodeNS' is deprecated and has been removed
from DOM4 (http://w3.org/tr/dom)."; |
| 721 |
| 713 // Features that aren't deprecated don't have a deprecation message. | 722 // Features that aren't deprecated don't have a deprecation message. |
| 714 default: | 723 default: |
| 715 return String(); | 724 return String(); |
| 716 } | 725 } |
| 717 } | 726 } |
| 718 | 727 |
| 719 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 728 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
| 720 { | 729 { |
| 721 ASSERT(feature >= firstCSSProperty); | 730 ASSERT(feature >= firstCSSProperty); |
| 722 ASSERT(feature <= lastCSSProperty); | 731 ASSERT(feature <= lastCSSProperty); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 751 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 760 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 752 { | 761 { |
| 753 // FIXME: We may want to handle stylesheets that have multiple owners | 762 // FIXME: We may want to handle stylesheets that have multiple owners |
| 754 // http://crbug.com/242125 | 763 // http://crbug.com/242125 |
| 755 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 764 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 756 return getFrom(sheetContents->singleOwnerDocument()); | 765 return getFrom(sheetContents->singleOwnerDocument()); |
| 757 return 0; | 766 return 0; |
| 758 } | 767 } |
| 759 | 768 |
| 760 } // namespace WebCore | 769 } // namespace WebCore |
| OLD | NEW |