| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2012 Google, Inc. All rights reserved. | 2  * Copyright (C) 2012 Google, Inc. All rights reserved. | 
| 3  * | 3  * | 
| 4  * Redistribution and use in source and binary forms, with or without | 4  * Redistribution and use in source and binary forms, with or without | 
| 5  * modification, are permitted provided that the following conditions | 5  * modification, are permitted provided that the following conditions | 
| 6  * are met: | 6  * are met: | 
| 7  * 1. Redistributions of source code must retain the above copyright | 7  * 1. Redistributions of source code must retain the above copyright | 
| 8  *    notice, this list of conditions and the following disclaimer. | 8  *    notice, this list of conditions and the following disclaimer. | 
| 9  * 2. Redistributions in binary form must reproduce the above copyright | 9  * 2. Redistributions in binary form must reproduce the above copyright | 
| 10  *    notice, this list of conditions and the following disclaimer in the | 10  *    notice, this list of conditions and the following disclaimer in the | 
| (...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 928     case PrefixedMouseEventMovementY: | 928     case PrefixedMouseEventMovementY: | 
| 929         return replacedBy("webkitMovementY", "movementY"); | 929         return replacedBy("webkitMovementY", "movementY"); | 
| 930 | 930 | 
| 931     case VideoFullscreenAllowedExemption: | 931     case VideoFullscreenAllowedExemption: | 
| 932         return "Entering fullscreen in an <iframe> with no allowfullscreen attri
     bute is deprecated and will stop working in M46, around October 2015. Please use
      the allowfullscreen attribute."; | 932         return "Entering fullscreen in an <iframe> with no allowfullscreen attri
     bute is deprecated and will stop working in M46, around October 2015. Please use
      the allowfullscreen attribute."; | 
| 933 | 933 | 
| 934     case SVGSMILElementInDocument: | 934     case SVGSMILElementInDocument: | 
| 935     case SVGSMILAnimationInImageRegardlessOfCache: | 935     case SVGSMILAnimationInImageRegardlessOfCache: | 
| 936         return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
     d will be removed. Please use CSS animations or Web animations instead."; | 936         return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
     d will be removed. Please use CSS animations or Web animations instead."; | 
| 937 | 937 | 
|  | 938     case DOMStringListContains: | 
|  | 939         return "'DOMStringList.contains()' is deprecated, and will be removed."; | 
|  | 940 | 
|  | 941     case V8DOMStringList_Item_Method: | 
|  | 942         return "'DOMStringList.item(n)' is deprecated, and will be removed. Plea
     se use indexing instead, e.g.: list[n]"; | 
|  | 943 | 
| 938     // Features that aren't deprecated don't have a deprecation message. | 944     // Features that aren't deprecated don't have a deprecation message. | 
| 939     default: | 945     default: | 
| 940         return String(); | 946         return String(); | 
| 941     } | 947     } | 
| 942 } | 948 } | 
| 943 | 949 | 
| 944 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 950 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 
| 945 { | 951 { | 
| 946     ASSERT(feature >= firstCSSProperty); | 952     ASSERT(feature >= firstCSSProperty); | 
| 947     ASSERT(feature <= lastUnresolvedCSSProperty); | 953     ASSERT(feature <= lastUnresolvedCSSProperty); | 
| (...skipping 27 matching lines...) Expand all  Loading... | 
| 975 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 981 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 
| 976 { | 982 { | 
| 977     // FIXME: We may want to handle stylesheets that have multiple owners | 983     // FIXME: We may want to handle stylesheets that have multiple owners | 
| 978     //        http://crbug.com/242125 | 984     //        http://crbug.com/242125 | 
| 979     if (sheetContents && sheetContents->hasSingleOwnerNode()) | 985     if (sheetContents && sheetContents->hasSingleOwnerNode()) | 
| 980         return getFrom(sheetContents->singleOwnerDocument()); | 986         return getFrom(sheetContents->singleOwnerDocument()); | 
| 981     return 0; | 987     return 0; | 
| 982 } | 988 } | 
| 983 | 989 | 
| 984 } // namespace blink | 990 } // namespace blink | 
| OLD | NEW | 
|---|