| 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 | 826 |
| 827 case CanvasRenderingContext2DCompositeOperationDarker: | 827 case CanvasRenderingContext2DCompositeOperationDarker: |
| 828 return replacedBy("darker", "darken"); | 828 return replacedBy("darker", "darken"); |
| 829 | 829 |
| 830 case XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: | 830 case XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload: |
| 831 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/."; | 831 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/."; |
| 832 | 832 |
| 833 case GetMatchedCSSRules: | 833 case GetMatchedCSSRules: |
| 834 return "'getMatchedCSSRules()' is deprecated. For more help, check https
://code.google.com/p/chromium/issues/detail?id=437569#c2"; | 834 return "'getMatchedCSSRules()' is deprecated. For more help, check https
://code.google.com/p/chromium/issues/detail?id=437569#c2"; |
| 835 | 835 |
| 836 case DocumentSetCharset: | |
| 837 return "Setting 'Document.charset' is deprecated. Please use '<meta char
set=\"UTF-8\">' instead."; | |
| 838 | |
| 839 case PrefixedImageSmoothingEnabled: | 836 case PrefixedImageSmoothingEnabled: |
| 840 return replacedBy("CanvasRenderingContext2D.webkitImageSmoothingEnabled"
, "CanvasRenderingContext2D.imageSmoothingEnabled"); | 837 return replacedBy("CanvasRenderingContext2D.webkitImageSmoothingEnabled"
, "CanvasRenderingContext2D.imageSmoothingEnabled"); |
| 841 | 838 |
| 842 case AudioListenerDopplerFactor: | 839 case AudioListenerDopplerFactor: |
| 843 return "dopplerFactor is deprecated and will be removed in M45 when all
doppler effects are removed"; | 840 return "dopplerFactor is deprecated and will be removed in M45 when all
doppler effects are removed"; |
| 844 | 841 |
| 845 case AudioListenerSpeedOfSound: | 842 case AudioListenerSpeedOfSound: |
| 846 return "speedOfSound is deprecated and will be removed in M45 when all d
oppler effects are removed"; | 843 return "speedOfSound is deprecated and will be removed in M45 when all d
oppler effects are removed"; |
| 847 | 844 |
| 848 case AudioListenerSetVelocity: | 845 case AudioListenerSetVelocity: |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 952 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 949 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 953 { | 950 { |
| 954 // FIXME: We may want to handle stylesheets that have multiple owners | 951 // FIXME: We may want to handle stylesheets that have multiple owners |
| 955 // http://crbug.com/242125 | 952 // http://crbug.com/242125 |
| 956 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 953 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 957 return getFrom(sheetContents->singleOwnerDocument()); | 954 return getFrom(sheetContents->singleOwnerDocument()); |
| 958 return 0; | 955 return 0; |
| 959 } | 956 } |
| 960 | 957 |
| 961 } // namespace blink | 958 } // namespace blink |
| OLD | NEW |