| 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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 // Quota | 626 // Quota |
| 627 case StorageInfo: | 627 case StorageInfo: |
| 628 return "'window.webkitStorageInfo' is deprecated. Please use 'navigator.
webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead."; | 628 return "'window.webkitStorageInfo' is deprecated. Please use 'navigator.
webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead."; |
| 629 | 629 |
| 630 // Performance | 630 // Performance |
| 631 case PrefixedPerformanceTimeline: | 631 case PrefixedPerformanceTimeline: |
| 632 return "'window.performance.webkitGet*' methods have been deprecated. Pl
ease use the unprefixed 'performance.get*' methods instead."; | 632 return "'window.performance.webkitGet*' methods have been deprecated. Pl
ease use the unprefixed 'performance.get*' methods instead."; |
| 633 case PrefixedUserTiming: | 633 case PrefixedUserTiming: |
| 634 return "'window.performance.webkit*' methods have been deprecated. Pleas
e use the unprefixed 'window.performance.*' methods instead."; | 634 return "'window.performance.webkit*' methods have been deprecated. Pleas
e use the unprefixed 'window.performance.*' methods instead."; |
| 635 | 635 |
| 636 // Web Audio | |
| 637 case WebAudioLooping: | |
| 638 return "AudioBufferSourceNode 'looping' attribute is deprecated. Use 'l
oop' instead."; | |
| 639 | |
| 640 case DocumentClear: | 636 case DocumentClear: |
| 641 return "document.clear() is deprecated. This method doesn't do anything.
"; | 637 return "document.clear() is deprecated. This method doesn't do anything.
"; |
| 642 | 638 |
| 643 case PrefixedTransitionMediaFeature: | 639 case PrefixedTransitionMediaFeature: |
| 644 return "The '(-webkit-transition)' media query feature is deprecated; pl
ease consider using the more exact conditional \"@supports('(transition-property
: prop_name)')\" instead."; | 640 return "The '(-webkit-transition)' media query feature is deprecated; pl
ease consider using the more exact conditional \"@supports('(transition-property
: prop_name)')\" instead."; |
| 645 | 641 |
| 646 // Web Components | 642 // Web Components |
| 647 case HTMLShadowElementOlderShadowRoot: | 643 case HTMLShadowElementOlderShadowRoot: |
| 648 return "HTMLShadowElement.olderShadowRoot is deprecated."; | 644 return "HTMLShadowElement.olderShadowRoot is deprecated."; |
| 649 | 645 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 725 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 730 { | 726 { |
| 731 // FIXME: We may want to handle stylesheets that have multiple owners | 727 // FIXME: We may want to handle stylesheets that have multiple owners |
| 732 // http://crbug.com/242125 | 728 // http://crbug.com/242125 |
| 733 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 729 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 734 return getFrom(sheetContents->singleOwnerDocument()); | 730 return getFrom(sheetContents->singleOwnerDocument()); |
| 735 return 0; | 731 return 0; |
| 736 } | 732 } |
| 737 | 733 |
| 738 } // namespace WebCore | 734 } // namespace WebCore |
| OLD | NEW |