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 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 case ConsoleTimeline: | 826 case ConsoleTimeline: |
827 return replacedBy("console.timeline", "console.time"); | 827 return replacedBy("console.timeline", "console.time"); |
828 | 828 |
829 case ConsoleTimelineEnd: | 829 case ConsoleTimelineEnd: |
830 return replacedBy("console.timelineEnd", "console.timeEnd"); | 830 return replacedBy("console.timelineEnd", "console.timeEnd"); |
831 | 831 |
832 case CanvasRenderingContext2DCompositeOperationDarker: | 832 case CanvasRenderingContext2DCompositeOperationDarker: |
833 return replacedBy("darker", "darken"); | 833 return replacedBy("darker", "darken"); |
834 | 834 |
835 case XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: | 835 case XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: |
836 return "Synchronous XMLHttpRequest on the main thread is deprecated beca
use of its detrimental effects to the end user's experience. For more help, chec
k http://xhr.spec.whatwg.org/."; | 836 return "Synchronous XMLHttpRequest on the main thread is deprecated beca
use of its detrimental effects to the end user's experience. For more help, chec
k https://xhr.spec.whatwg.org/."; |
837 | 837 |
838 case GetMatchedCSSRules: | 838 case GetMatchedCSSRules: |
839 return "'getMatchedCSSRules()' is deprecated. For more help, check https
://code.google.com/p/chromium/issues/detail?id=437569#c2"; | 839 return "'getMatchedCSSRules()' is deprecated. For more help, check https
://code.google.com/p/chromium/issues/detail?id=437569#c2"; |
840 | 840 |
841 case PrefixedImageSmoothingEnabled: | 841 case PrefixedImageSmoothingEnabled: |
842 return replacedBy("CanvasRenderingContext2D.webkitImageSmoothingEnabled"
, "CanvasRenderingContext2D.imageSmoothingEnabled"); | 842 return replacedBy("CanvasRenderingContext2D.webkitImageSmoothingEnabled"
, "CanvasRenderingContext2D.imageSmoothingEnabled"); |
843 | 843 |
844 case AudioListenerDopplerFactor: | 844 case AudioListenerDopplerFactor: |
845 return "dopplerFactor is deprecated and will be removed in M45 when all
doppler effects are removed"; | 845 return "dopplerFactor is deprecated and will be removed in M45 when all
doppler effects are removed"; |
846 | 846 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 983 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
984 { | 984 { |
985 // FIXME: We may want to handle stylesheets that have multiple owners | 985 // FIXME: We may want to handle stylesheets that have multiple owners |
986 // http://crbug.com/242125 | 986 // http://crbug.com/242125 |
987 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 987 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
988 return getFrom(sheetContents->singleOwnerDocument()); | 988 return getFrom(sheetContents->singleOwnerDocument()); |
989 return 0; | 989 return 0; |
990 } | 990 } |
991 | 991 |
992 } // namespace blink | 992 } // namespace blink |
OLD | NEW |