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 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
910 | 910 |
911 case PrefixedTouchForce: | 911 case PrefixedTouchForce: |
912 return "'Touch.webkitForce' is deprecated and will be removed in M47, ar ound November 2015. Please use 'Touch.force' instead."; | 912 return "'Touch.webkitForce' is deprecated and will be removed in M47, ar ound November 2015. Please use 'Touch.force' instead."; |
913 | 913 |
914 case CSSDeepCombinator: | 914 case CSSDeepCombinator: |
915 return "/deep/ combinator is deprecated. See https://www.chromestatus.co m/features/6750456638341120 for more details."; | 915 return "/deep/ combinator is deprecated. See https://www.chromestatus.co m/features/6750456638341120 for more details."; |
916 | 916 |
917 case CSSSelectorPseudoShadow: | 917 case CSSSelectorPseudoShadow: |
918 return "::shadow pseudo-element is deprecated. See https://www.chromesta tus.com/features/6750456638341120 for more details."; | 918 return "::shadow pseudo-element is deprecated. See https://www.chromesta tus.com/features/6750456638341120 for more details."; |
919 | 919 |
920 case VideoFullscreenAllowedExemption: | |
921 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."; | |
falken
2015/06/08 03:22:29
Hum, I don't know whether Blink should refer to Ch
philipj_slow
2015/06/09 19:17:17
Yeah, this looks a bit odd, but Chromium is the on
| |
922 | |
920 // Features that aren't deprecated don't have a deprecation message. | 923 // Features that aren't deprecated don't have a deprecation message. |
921 default: | 924 default: |
922 return String(); | 925 return String(); |
923 } | 926 } |
924 } | 927 } |
925 | 928 |
926 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 929 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
927 { | 930 { |
928 ASSERT(feature >= firstCSSProperty); | 931 ASSERT(feature >= firstCSSProperty); |
929 ASSERT(feature <= lastUnresolvedCSSProperty); | 932 ASSERT(feature <= lastUnresolvedCSSProperty); |
(...skipping 27 matching lines...) Expand all Loading... | |
957 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 960 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
958 { | 961 { |
959 // FIXME: We may want to handle stylesheets that have multiple owners | 962 // FIXME: We may want to handle stylesheets that have multiple owners |
960 // http://crbug.com/242125 | 963 // http://crbug.com/242125 |
961 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 964 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
962 return getFrom(sheetContents->singleOwnerDocument()); | 965 return getFrom(sheetContents->singleOwnerDocument()); |
963 return 0; | 966 return 0; |
964 } | 967 } |
965 | 968 |
966 } // namespace blink | 969 } // namespace blink |
OLD | NEW |