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 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 | 805 |
806 case GetMatchedCSSRules: | 806 case GetMatchedCSSRules: |
807 return "'getMatchedCSSRules()' is deprecated. For more help, check https
://code.google.com/p/chromium/issues/detail?id=437569#c2"; | 807 return "'getMatchedCSSRules()' is deprecated. For more help, check https
://code.google.com/p/chromium/issues/detail?id=437569#c2"; |
808 | 808 |
809 case DocumentSetCharset: | 809 case DocumentSetCharset: |
810 return "Setting 'Document.charset' is deprecated. Please use '<meta char
set=\"UTF-8\">' instead."; | 810 return "Setting 'Document.charset' is deprecated. Please use '<meta char
set=\"UTF-8\">' instead."; |
811 | 811 |
812 case PrefixedImageSmoothingEnabled: | 812 case PrefixedImageSmoothingEnabled: |
813 return replacedBy("CanvasRenderingContext2D.webkitImageSmoothingEnabled"
, "CanvasRenderingContext2D.imageSmoothingEnabled"); | 813 return replacedBy("CanvasRenderingContext2D.webkitImageSmoothingEnabled"
, "CanvasRenderingContext2D.imageSmoothingEnabled"); |
814 | 814 |
815 case DeprecatedDopplerFactor: | 815 case AudioListenerDopplerFactor: |
816 return "dopplerFactor is deprecated and will be removed in M45 when all
doppler effects are removed"; | 816 return "dopplerFactor is deprecated and will be removed in M45 when all
doppler effects are removed"; |
817 case DeprecatedSpeedOfSound: | 817 |
| 818 case AudioListenerSpeedOfSound: |
818 return "speedOfSound is deprecated and will be removed in M45 when all d
oppler effects are removed"; | 819 return "speedOfSound is deprecated and will be removed in M45 when all d
oppler effects are removed"; |
819 case DeprecatedSetVelocity: | 820 |
| 821 case AudioListenerSetVelocity: |
820 return "setVelocity() is deprecated and will be removed in M45 when all
doppler effects are removed"; | 822 return "setVelocity() is deprecated and will be removed in M45 when all
doppler effects are removed"; |
821 | 823 |
822 case ShadowRootGetElementsByClassName: | 824 case ShadowRootGetElementsByClassName: |
823 return "ShadowRoot.getElementsByClassName() is deprecated. Please use 'q
uerySelectorAll' instead"; | 825 return "ShadowRoot.getElementsByClassName() is deprecated. Please use 'q
uerySelectorAll' instead"; |
824 | 826 |
825 case ShadowRootGetElementsByTagName: | 827 case ShadowRootGetElementsByTagName: |
826 return "ShadowRoot.getElementsByTagName() is deprecated. Please use 'que
rySelectorAll' instead"; | 828 return "ShadowRoot.getElementsByTagName() is deprecated. Please use 'que
rySelectorAll' instead"; |
827 | 829 |
828 case ShadowRootGetElementsByTagNameNS: | 830 case ShadowRootGetElementsByTagNameNS: |
829 return "ShadowRoot.getElementsByTagNameNS() is deprecated. Please use 'q
uerySelectorAll' instead"; | 831 return "ShadowRoot.getElementsByTagNameNS() is deprecated. Please use 'q
uerySelectorAll' instead"; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
869 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 871 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
870 { | 872 { |
871 // FIXME: We may want to handle stylesheets that have multiple owners | 873 // FIXME: We may want to handle stylesheets that have multiple owners |
872 // http://crbug.com/242125 | 874 // http://crbug.com/242125 |
873 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 875 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
874 return getFrom(sheetContents->singleOwnerDocument()); | 876 return getFrom(sheetContents->singleOwnerDocument()); |
875 return 0; | 877 return 0; |
876 } | 878 } |
877 | 879 |
878 } // namespace blink | 880 } // namespace blink |
OLD | NEW |